Interview Prep/Real-World Interview/CI/CD pipeline deep-dive

How did you promote a build from staging to production?

IntermediateBehavioralCI/CD pipeline deep-dive
Answer

Good answer looks like → "Build once, promote the same artifact. The staging deploy records the image digest; promotion is a PR to the production values file changing only that digest, which requires approval from a code owner. We never rebuilt for production, so what we tested is exactly what shipped."

Follow-ups to expect → Who approves? How do you handle config differences? How long does promotion take?

Red flags → Rebuilding the image from the main branch for production.

All Real-World Interview questions Roadmap: Interview readiness

More on CI/CD pipeline deep-dive