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
- Enable
required_pipelines
FF (Feature.enable(:required_pipelines)
) - Go to Admin page
- Go to CI/CD settings on Admin Page
- Look for Required pipeline configuration section
- Select template from the list and save the setting
- Create new project and run the pipeline.
- 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