Should CI wait for Argo CD to finish deploying before marking the pipeline green?
IntermediateScenarioCI Integration & Progressive Delivery
Answer
Situation read → Trade-off between fast feedback and decoupling.
What I'd do →
- For dev, optional: a job with a read-only project token runs
argocd app wait web-dev --sync --health --timeout 600and reports. - Better: Argo CD notifications post commit statuses back to the config repo or app repo commit ("deployed to dev").
- Promotions are gated on those statuses, not on pipeline success.
Why → Pipelines that poll Argo CD reintroduce coupling and credentials; statuses push the result where developers look.
Interview tip → Mention the GitHub commit status notification service.
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?BeginnerYou 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?AdvancedYou want a release to stop at 50% in prod until a human approves. How?Beginner