Partially disable rule mode on parsing error for pipeline execution policies
Why are we doing this work
Currently when there is a yaml parsing error, the entire rule mode disables, which could be overkill (e.g. if the parsing error is because of a rule, then the action section should not have to be disabled)
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
-
frontend implement for pipeline execution policy
Verification steps
- Upload a GitLab Ultimate license
- Navigate to a project => Secure => Policies => New policy => Pipeline execution policy
- Navigate to yaml mode and mess around with the yaml
- Navigate to rule mode and see that only part of it is disabled
Edited by Alexander Turinske