ci(deploy): promote smoke to a production gate

deploy-production now needs smoke; a smoke FAILURE blocks prod while a skipped
smoke (run_smoke:false) still allows it. Automated functional gate replacing
the removed human approval gate — hands-off but safe.

Agent-Session: cto gate-smoke
This commit is contained in:
peptiderepo
2026-06-09 15:28:38 +00:00
parent a09d210895
commit 4a26bfaa4d

View File

@@ -79,7 +79,10 @@ jobs:
deploy-production:
name: Deploy to Production
needs: [deploy-staging]
# Smoke is now a GATE: a smoke FAILURE blocks production. A deliberately
# skipped smoke (run_smoke: false) still allows prod via the if-condition.
needs: [deploy-staging, smoke]
if: ${{ !cancelled() && needs.deploy-staging.result == 'success' && needs.smoke.result != 'failure' }}
runs-on: ubuntu-latest
environment: production
steps: