Book Image

Learning Continuous Integration with TeamCity

Book Image

Learning Continuous Integration with TeamCity

Overview of this book

Table of Contents (19 chapters)
Learning Continuous Integration with TeamCity
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Implementing the deployment pipeline in TeamCity


In this section, we will be looking at the different features that TeamCity provides for a proper CD and deployment pipeline setup. We will also be exploring how certain features encourage the best practices of CD, and some of the not-so-best practices.

A view of the deployment pipeline, visualized as build configurations and projects, is shown in the following screenshot:

Here, the initial steps for a standard CI setup are grouped under the CI project. The steps to deploy to different environments (except for the CI environment) are moved to separate projects. Generally, deployments have multiple steps, such as deploying to multiple servers, running sanity tests after doing the deployment, and so on. This warrants separate projects for them.

Note

Also, deployment to different environments needs to be managed through proper access control as it is not ideal to give everyone the ability to deploy to production or even the UAT environment. Apart...