Skip to content

When pipeline contains only .pre and .post jobs under certain rules, show an error in the pipeline editor simulation

Release notes

Problem to solve

In 12.8, we made a change so that pipelines with only .pre and/or .post stages would not run.

This leads to pipelines not being started without any error message or warning. This has caused trouble for some of our customers that only have .pre or .post jobs. To make things more confusing, the Yaml linter shows it as valid Yaml (which it is).

Proposal

Show an error for a pipeline configuration that leads to only a .pre and .post jobs pipeline in the Pipeline Editor simulation. The pipeline simulation is being implemented in 15.1.

Intended users

Feature Usage Metrics

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 Nadia Sotnikova