Skip to content

Draft: Disable override mode for pipeline execution policy

What does this MR do and why?

The changes are related to a feature called "Pipeline Execution Policy Override Mode". This feature allows users to override the default pipeline execution policy for a project or group. The changes include:

  • Adding a new feature flag to enable or disable the override mode.
  • Updating components to support the override mode, including the action section, code block file path, and strategy selector.
  • Adding tests to ensure the override mode works as expected.

In summary, these changes introduce a new feature that provides more flexibility in configuring pipeline execution policies.

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.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

FF off FF on
no flag.mov with flag.mov

How to set up and validate locally

  1. Enable feature flag

    Feature.enable(:pipeline_execution_policy_override_mode)
  2. Go to Group/project

  3. Secure -> Policies

  4. New pipeline execution policy

  5. Make sure there is a dropdown with Inject/override config strategies

  6. Disable flag

  7. Make sure there is only inject label

Numbered steps to set up and validate the change are strongly suggested.

Related to #471249 (closed)

Edited by Artur Fedorov

Merge request reports

Loading