Skip to content

Stageless pipelines all appear in a single stage called "Test" - can this be renamed?

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Hi @dhershkovitch, I read your blog here and you invited us to create a new issue right here if we had commments or questions.

Now in GitLab 14.2, you can finally define a whole pipeline using nothing but needs to control the execution order. No more need to define any stages if you use needs!

if you build a "stageless" pipeline, there will still be at least one stage that holds all the jobs.

Do you know why this one stage is called "Test" by default?

Is there any way to rename this, other than by adding the same stage: something-else declaration to every job?

It's not a big deal, but it is unexpected, and people ask about it...

Problem

When users are using a stateless pipeline (no stage defined), GitLab provides a default stage by the name of Test. Users would like to edit the default Test` stage, there is an available workaround however it requires updating all jobs in a pipeline

workaround

Define a different stage name and specify the stage in all pipeline jobs

stages:
  - your-stage

default:
  stage: your-stage
Edited by 🤖 GitLab Bot 🤖