Continuous Delivery
Also known as: CD
Software engineering approach in which every change is built, tested and prepared so that it can be released to production safely at any time.
Continuous delivery (CD) extends continuous integration beyond the build. Every change that passes the automated tests moves through further stages, such as integration testing, security checks and deployment to a production-like environment, so that the software is always in a releasable state. Releasing becomes a business decision that can be made at any moment, often with a single approval, rather than a large engineering event that requires weeks of preparation. The practice relies on a CI/CD pipeline, automated environments and a high degree of confidence in the test suite.
Continuous delivery is closely related to, but distinct from, continuous deployment. In continuous delivery, changes are ready to ship and are released when someone decides to; a human approval before production is normal. In continuous deployment, every change that passes the pipeline goes to production automatically, with no manual step. Both are abbreviated CD, which causes frequent confusion. Jez Humble and David Farley's book "Continuous Delivery", published in 2010, set out the principles and the deployment pipeline model, building on agile thinking that valued early and frequent delivery of working software.
Organizations adopt continuous delivery to reduce the risk of each release: shipping small changes often makes problems easier to find and reverse than shipping large batches rarely. It supports techniques such as Blue-Green deployment, canary releases and feature flags, which separate deploying code from exposing it to users. The approach is harder to apply where releases are constrained by regulation, app store review or physical hardware, and it demands sustained investment in test automation. Its ideas became a core part of the wider DevOps movement.
Key points
- In continuous delivery every passing change is releasable, but a person typically decides when to release.
- Continuous deployment goes further, sending every passing change to production automatically.
- Jez Humble and David Farley's 2010 book "Continuous Delivery" formalized the deployment pipeline concept.
- Frequent small releases lower risk because each change is easier to test, diagnose and roll back.
Related entries
Continuous Integration
Development practice in which programmers merge changes into a shared repository frequently, with each change verified by an automated build and tests.
CI/CD Pipeline
Automated sequence of stages that builds, tests and releases software changes, combining continuous integration with continuous delivery or deployment.
DevOps
Set of cultural practices and tools that unites software development and IT operations to deliver changes faster and more reliably.
Blue-Green Deployment
Release technique that runs two identical production environments and switches user traffic from the old version to the new one in a single step.
Canary Release
Deployment technique that releases a new software version to a small subset of users or servers first, expanding only if it behaves well.
Feature Flag
Configuration switch in software that turns functionality on or off at runtime, allowing code to be deployed without immediately releasing it to users.
GitOps
Operational model in which a Git repository holds the declared state of infrastructure and applications, and automated agents keep systems in sync with it.
Featured in guides
Referenced by
Other entries that discuss or point to Continuous Delivery.