CI/CD Pipelines and Test Environments in Production
Understand the key stages of CI/CD pipelines including source control, build, static analysis, and testing phases. Learn how test environments simulate production systems safely and why blue-green deployment and traffic partitioning help mitigate risks when testing in live production. This lesson guides you through practical techniques to integrate automated testing effectively while protecting your production environment.
Practical CI/CD pipelines
Most projects use a CI tool to handle the sequencing chores. Popular tools are provided by Jenkins, GitLab, CircleCI, Travis CI, and Azure DevOps. They all work similarly, executing separate build stages sequentially. That’s where the name pipeline comes from—it resembles a pipe being loaded at one end with the next build stage and coming out of the other end of the pipe, as shown in the following illustration:
A CI pipeline comprises the following steps:
Source control: Having a common location to store the code is essential to CI/CD. It is the place where code gets integrated. The pipeline starts here by pulling ...