Performing the integration test
To finalize the CI/CD pipeline for release, we need to integrate the code that the ML practitioner submitted into the build process. We do this by providing the build instructions to the CodeBuild stage by creating a buildspec.yml
file.
Note
You can find a complete copy of the buildspec.yml
file, for your reference, in the companion GitHub repository (https://github.com/PacktPublishing/Automated-Machine-Learning-on-AWS/blob/main/Chapter07/Files/buildspec.yml).
The following steps will walk you through the integration process, performed from the perspective of the development engineer:
- Using the Cloud9 environment, run the following command within the Terminal window to pull the latest changes that the ML practitioner made:
$ cd ~/environment/abalone-cicd-pipeline/ && git pull
- Change to the
model
branch by running the following command:$ git checkout model
- Right-click on the
abalone-cicd-pipeline
folder in the navigation...