Enabling GitHub Actions for CI/CD implementation
In this section, we’ll be walking through how to set up the CI and CD pipelines for the Equipment domain. Once you’ve completed this example, you will be able to create the same pipelines for all other domain projects.
GitHub Actions for continuous integration
For the continuous integration setup, we will be starting with a basic template meant to build the source code, as well as run any applicable unit tests. Once complete, any required Docker images will be stored in GitHub Packages:
- Clicking on Configure will spin up a new CI pipeline template based on the output you selected. Figure 8.3 illustrates the pipeline template we will use in this example:
- Figure 8.4 shows the YAML pipeline created for you by GitHub when you click on the Configure button: