Presently, we can enable/disable stages only through .yml file. Which requires updating the file, creating a MR and merging it to see the changes in the pipeline. This is cumbersome process. It would be good to support to enable/disable stages using configuration UI once the basic pipeline has been created using yml file.
Many times some stages fail because of issues with software update like code analysis, coverity scan etc having easy way to disable the stages will be very helpful.
We (I am working for an organization using GitLab Ultimate) also have a use case for which we haven’t found any good mechanism yet: We use Renovate to upgrade our dependencies in our project and would like to add a job in the GitLab pipeline for this. But when running this job we don’t want any of the other jobs to run. So the Renovate job and all other jobs are mutually exclusive. From what I can tell I would have to add rules to every single job to make sure that the job isn’t executed when running the Renovate job. The only feature I found which helps here is reference tags, but this also doesn’t really help when additional jobs are included from another file (unless those jobs also all use the same reference tags in their job rules).
Thus I was thinking it would be nice if the stages could be configured with rules, so that I could have a separate stage for Renovate and in the stages rules could declare which stages are actually to be considered when running the pipeline.
Possibly I have overlooked some existing mechanism which would help with our use case. If so, please let me know!