Continuous integration
When code changes are ready, automation can begin building the necessary packages for use in staging and production environments. As part of the build process, tests can be run to determine the correct function as well as security. When testing indicates correct and secure functionality, a package is created and stored in artifact repositories based on the technology used.
This part of the pipeline is illustrated in the following figure:
Figure 3.4 – Pipeline: Continuous integration
Let’s look at how the CI portion of the pipeline manages a build, executes the initial-level testing, and packages the build. We will begin with a definition of continuous integration, continuous delivery, and continuous deployment.
Continuous integration versus continuous delivery versus continuous deployment
We will see that continuous integration captures the activities that can be automatically run once a change has been committed...