Draft: Add pipeline execution policy schedule run
What does this MR do and why?
This makes it possible to run pipeline execution policies on a schedule.
There are multiple ways to implement this feature. In this MR I tried to re-use as much of the existing codebase as possible. It uses the Security::OrchestrationPolicyRuleSchedule
model to store schedules.
Alternatives to this approach are:
- Use
ci_pipeline_schedules
- Add a new table for pipeline execution schedules
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 |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #472671
Edited by Andy Schoenen