Skip to content

Partially disable rule mode for pipeline execution

What does this MR do and why?

Partially disable rule mode for pipeline execution

  • if the yaml is incorrect, only partially disable rule mode

Changelog: changed

EE: true

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

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.

Before After
Screenshot_2024-12-31_at_15.00.21 Screenshot_2024-12-31_at_14.52.12 Screenshot_2024-12-31_at_14.55.59

How to set up and validate locally

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

  1. Upload a GitLab Ultimate license
  2. Navigate to a project => Secure => Policies => New policy => Pipeline execution policy
  3. Navigate to yaml mode and mess around with the yaml
  4. Navigate to rule mode and see that only part of it is disabled

Related to #501141

Merge request reports

Loading