Skip to content

Revert removing Required Pipeline Configuration behind FF

What does this MR do and why?

This MR reverts removal of Required Pipeline Configuration feature, that was performed in %17.0. This feature is added to allow some self-managed customers enable it, it is behind feature flag and we do not plan to enable it globally on GitLab.com or by default.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Video

Kapture_2024-09-09_at_13.19.44

How to set up and validate locally

  1. Enable required_pipelines FF (Feature.enable(:required_pipelines))
  2. Go to Admin page
  3. Go to CI/CD settings on Admin Page
  4. Look for Required pipeline configuration section
  5. Select template from the list and save the setting
  6. Create new project and run the pipeline.
  7. You should see jobs added from required pipeline configuration in your job.

Related to https://gitlab.com/gitlab-org/gitlab/-/issues/482815

Edited by Alan (Maciej) Paruszewski

Merge request reports

Loading