Interview Prep/CI/CD/Pipeline Design and Architecture

How do you decide between a single pipeline and separate CI and CD pipelines?

AdvancedProductionPipeline Design and Architecture
Answer

One pipeline per commit through all stages is easiest to reason about (single run = single story). We split when the lifecycle differs: with GitOps, CI (build and publish) lives in the app repo and CD is the controller reconciling a config repo; for multi-region or multi-tenant releases, a separate promotion pipeline takes an already-built release and rolls it across regions with waves and bake times. Splitting lets CD be re-run, rolled back, and promoted without re-running CI, and gives CD stricter permissions.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Pipeline Design and Architecture