Interview Prep/CI/CD/Fundamentals and Pipeline Design

What is a CI/CD pipeline and what are its stages?

BeginnerConceptFundamentals and Pipeline Design
Answer

A pipeline is an automated workflow that takes a commit from source control to a running deployment. It is split into stages, and each stage contains one or more jobs.

A common stage order is: source/checkout → build → unit test → static analysis → package (image/artifact) → publish → deploy to dev/staging → integration/E2E tests → deploy to production → verify. A failed stage stops the pipeline, so later (more expensive) stages never run on a broken build.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Fundamentals and Pipeline Design