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.

Further details

Use cases:

  1. Do not run "Auto Build" job unless k8s cluster is configured for project OR dockerfile is present
  2. 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

Proposal

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.

Links / references

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖