H0: productie-deploy van SLP alleen vanaf een release/*-branch (zelfde regel als ASF)
Continuous Integration / config-sls (pull_request) Successful in 6s
Continuous Integration / changes (pull_request) Successful in 11s
Continuous Integration / config-asf (pull_request) Successful in 10s
Continuous Integration / frontend-prepare (pull_request) Successful in 32s
Continuous Integration / backend-build (pull_request) Successful in 1m10s
Continuous Integration / compile-sites (pull_request) Successful in 1m27s
Continuous Integration / frontend-build (pull_request) Successful in 43s
Continuous Integration / frontend-lint (pull_request) Successful in 39s
Continuous Integration / frontend-test (pull_request) Successful in 1m13s
Continuous Integration / backend-test (pull_request) Successful in 3m0s
Continuous Integration / vulnerability-scan (pull_request) Successful in 6m3s
Continuous Integration / publish-sls-test (pull_request) Skipped
Continuous Integration / publish-sls-production (pull_request) Skipped
Continuous Integration / deploy-sls-test (pull_request) Skipped
Continuous Integration / deploy-sls-production (pull_request) Skipped
Continuous Integration / publish-asf-test (pull_request) Skipped
Continuous Integration / deploy-asf-test (pull_request) Skipped
Continuous Integration / smoke-sls-test (pull_request) Skipped
Continuous Integration / smoke-asf-test (pull_request) Skipped

publish-sls-production en deploy-sls-production krijgen startsWith(github.ref, 'refs/heads/release/').
Docs en productie-checklist bijgewerkt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 14:27:18 +01:00
co-authored by Claude Sonnet 5.5
parent b2cacfe551
commit 458229fe96
3 changed files with 8 additions and 6 deletions
+6 -4
View File
@@ -480,6 +480,7 @@ jobs:
needs.frontend-test.result != 'failure' && needs.frontend-test.result != 'cancelled' &&
needs.frontend-lint.result != 'failure' && needs.frontend-lint.result != 'cancelled' &&
github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_sls_production == 'true' &&
startsWith(github.ref, 'refs/heads/release/') &&
(needs.changes.outputs.backend == 'true' || needs.changes.outputs.frontend == 'true')
runs-on: linux
steps:
@@ -555,12 +556,13 @@ jobs:
health_check_url: ${{ vars.HEALTH_CHECK_URL_TEST }}
run_db_backup: false
# Production deploy ONLY on an explicit workflow_dispatch run with deploy_sls_production checked
# (FR-04, D-09) — never reachable from a plain push to master, so pushing cannot deploy production
# under any circumstance.
# Production deploy ONLY on an explicit workflow_dispatch run with deploy_sls_production checked, and
# only when that run is on a release/* branch (same rule as ASF) — never reachable from a plain push
# to master, so pushing cannot deploy production under any circumstance, and a dispatch from master
# or a feature branch does nothing for production.
deploy-sls-production:
needs: [publish-sls-production, config-sls]
if: github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_sls_production == 'true'
if: github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_sls_production == 'true' && startsWith(github.ref, 'refs/heads/release/')
uses: ./.gitea/workflows/deploy-scp.yaml
secrets: inherit
with: