Now that you have established the prerequisites for supporting CodeBuild, you can create a continuous integration CodePipeline pipeline that will use CodeBuild to test, build, and publish your Docker image. Continuous integration focuses on continuously merging application source code changes into your master branch and validating the changes by creating a build and running automated tests against it.Â
As per the first diagram in this chapter, this generally involves two stages when you configure a CodePipeline pipeline for continuous integration:
- Source Stage: Downloads the source application repository and makes it available for subsequent stages. For our use case, you will connect CodePipeline to the master branch of your GitHub repository, and subsequent commits to this repository will automatically trigger...