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.
More on Fundamentals and Pipeline Design
What is Continuous Integration (CI)?BeginnerWhat is the difference between Continuous Delivery and Continuous Deployment?IntermediateWhat is a CI/CD pipeline and what are its stages?BeginnerWhy should a pipeline "fail fast", and how do you order stages to achieve it?IntermediateWhat makes a build reproducible, and why does it matter?AdvancedHow does your branching strategy affect CI? Compare trunk-based development with GitFlow.Intermediate