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.
More on Pipeline Design and Architecture
What does a good production CI/CD pipeline look like end to end?BeginnerWhat is your target feedback time for CI and how do you hit it?IntermediateHow do you structure repositories: app repo, config repo, pipeline library?IntermediateHow do you design a pipeline for a monorepo with 50 services?AdvancedShould every merge to main deploy to production automatically?IntermediateHow do you keep pipeline definitions DRY across hundreds of repos?Intermediate