Skip Auto DevOps stage when necessary components for the stage are not present
Problem to solve
Currently, Auto DevOps will run all the stages even when all the required pieces are not configured/present. In order to avoid wasted compute resources lets only run stages it when all the necessary pieces are present.
- Do not run "Auto Build" job unless k8s cluster is configured for project OR dockerfile is present
- Do not run "Auto Container Scanning" unless
- cluster OR docker file is present AND license = ultimate OR
- docker file is present AND license = ultimate OR
- license = ultimate
Run auto devops stages only when the necessary pieces are present.
What does success look like, and how can we measure that?
Auto DevOps stage is skipped when requirements for the particular stage are not met.