We have addressed the what and the why of CD in the previous sections. This section answers the how.
The deployment pipeline is the central part of a CD setup. We have already implemented the core aspects of the deployment pipeline while implementing CI for various projects in the previous chapters. We take a look at the deployment pipeline in detail in this chapter, and how it can be configured in TeamCity.
Note
We will be looking at some settings and features of TeamCity that have already been covered in previous chapters so as to keep this chapter self-contained.
A typical deployment pipeline implementation is shown in the following diagram:
The pipeline has many sequential and some parallel steps. The code, and everything needed to have it running in various environments, is version controlled and progresses through these steps till it is finally deployed to production.