Disable Auto DevOps jobs with variables
Description
Auto DevOps provides a wide range of features that can be very useful to your pipeline:
- Unit testing
- Code Quality
- Security
- SAST
- Dependency Scanning
- Container Scanning
- DAST
- Review Apps
- Performances monitoring
This is great, but sometimes your application just doesn't fit with some of them, or you don't want to execute some of them. It should be possible to disable jobs based on environment variables.
Proposal
For each of the feature jobs available in the Auto DevOps template, support the use of a variable to disable it using the except
clause.
Variables names can be TEST_DISABLED
, CODEQUALITY_DISABLED
, etc.
Edited by Fabio Busatto