Interview Prep/GitOps & Argo CD/CI Integration & Progressive Delivery

Two 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?

BeginnerScenarioCI Integration & Progressive Delivery
Answer

Situation read → Concurrent pushes to the same branch.

What I'd do →

  1. Loop: git pull --rebase && git push up to N times with a short sleep.
  2. Keep each service's tag in its own file so rebases never conflict.
  3. Use a CI concurrency group per environment to serialize updates.

Why → Rebasing onto the latest head resolves non-conflicting concurrent commits.

Interview tip → File-per-service layout is what prevents real conflicts.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on CI Integration & Progressive Delivery