Add inject_policy as default pipeline execution config strategy
What does this MR do and why?
Add inject_policy as default pipeline execution config strategy.
With the new inject_policy strategy, custom policy stages are no longer ignored when injected into the main pipeline.
We make it as default strategy, while supporting inject_ci for backward compatibility.
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.
Existing inject_ci policy |
New policy | Existing inject_policy policy |
|---|---|---|
![]() |
![]() |
![]() |
How to set up and validate locally
- Create a project
- Create a new pipeline execution policy
- Verify that
inject_policyis selected as a default strategy - Switch to
.yaml modeand overwrite the strategy toinject_ci - Verify that the third, deprecated strategy shows up and the link to the docs is clickable
Related to #475152 (closed)


