Interview Prep/CI/CD/Fundamentals and Pipeline Design

What is the difference between the build, test, release and deploy steps?

IntermediateConceptFundamentals and Pipeline Design
Answer
  • Build turns source into an executable form (compile, bundle, docker build).
  • Test verifies behaviour (unit, integration, E2E, security scans).
  • Release creates a versioned, immutable, publishable artifact and its metadata (tag, changelog, GitHub Release, image push).
  • Deploy puts a specific release onto an environment.

Keeping release and deploy separate lets you deploy the same release to many places and roll back by redeploying an older release without rebuilding anything.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Fundamentals and Pipeline Design