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.
More on CI/CD pipeline deep-dive
Walk me through your CI/CD pipeline stage by stage.BeginnerWhy did you choose GitHub Actions (or Jenkins, or GitLab CI) for this pipeline?IntermediateHow did you share pipeline logic across many repositories?IntermediateHow did your pipeline authenticate to AWS (or your cloud)?IntermediateHow did you tag and version container images?BeginnerHow long did your pipeline take, and how did you make it faster?Intermediate