You need to run an integration test suite against staging after each deploy and block promotion on failure. How?
IntermediateScenarioCI Integration & Progressive Delivery
Answer
Situation read → Post-deploy verification feeding the promotion gate.
What I'd do →
- PostSync hook Job in staging that runs the test suite and fails on test failure.
- Notification on
on-sync-succeeded(meaning hooks passed) sets a commit status or triggers the promotion workflow. - Promotion PR to prod requires that status.
Why → The sync result encodes the test result, and the gate consumes it.
Interview tip → Alternatively an AnalysisRun with a job provider, if Rollouts is in use.
More on CI Integration & Progressive Delivery
Design a CI pipeline that deploys through GitOps without giving CI cluster access.BeginnerTwo pipelines commit tag bumps to the config repo at the same time and one fails with "rejected, non-fast-forward". How do you make it robust?BeginnerShould CI wait for Argo CD to finish deploying before marking the pipeline green?IntermediateYou want automatic rollback when error rates rise after a deploy. How do you build it?IntermediateYour canary uses replica-based weights with 3 replicas and `setWeight: 10`. What actually happens and what do you change?IntermediateProduct wants internal staff to test the new version in production before any customer sees it. How?Advanced