Understanding the WWTravelClub project approach
In the chapter, WWTravelClub project screenshots were presented, exemplifying the steps for adopting a safer approach while enabling CI. Even considering WWTravelClub as a hypothetical scenario, some concerns were considered while building it:
- CI is enabled, but a multi-stage scenario is enabled too
- Even with a multi-stage scenario, the PR is a way to guarantee that only good-quality code will be presented in the first stage
- To do a good job in the PR, peer reviews are undertaken
- The peer reviews check, for instance, the presence of a feature flag while creating a new feature
- The peer reviews check both unit and functional tests developed during the creation of the new feature
The preceding steps are not exclusively for WWTravelClub. You, as a software architect, will need to define the approach to guarantee a safe CI/CD scenario. You may use this as a starting point.