Add a per instance setting to disable the suggest pipeline feature
For some instances, the suggest pipeline banner might not make sense, for example an instance where the projects are mostly issue trackers and may only have a repository to store issue templates and markdown files. In other cases a project owner may decide not to create any pipelines.
Adding an setting at the instance level gives administrators the option of turning off the suggest pipeline feature so that is does not display for any user, in any project.
🗺
Plan Technical details
-
suggest_pipeline_enabled
will default totrue
to be backwards-compatible with the current behavior of the application (suggestion banner is shown when MR has no pipelines)
Implementation tasks
-
1. Add suggest_pipeline_enabled
setting to application settings: !70756 (merged) -
2. Add new setting to Admin Area > Settings > CI/CD page: !70786 (merged) -
3. Update logic to show suggest pipeline banner to check value of suggest_pipeline_enabled
setting: !71015 (merged) -
4. Update Application Setting API doc to include suggest_pipeline_enabled: !71702 (merged)
Walkthrough
Edited by Eugie Limpin