Use a new Ruby 3.0 pipeline schedule
What does this MR do and why?
- Rename 2-hourly scheduled pipelines to maintenance scheduled pipelines
- Add a new Ruby 3.0 maintenance pipeline schedule. Set it to run every 2 hours at odd hour so they don't run at the same time, but with the same frequency
TODO before merge
-
Add SCHEDULE_TYPE
to the maintenance schedules (previously 2-hourly). Set it tomaintenance
- (Has to be logged in as @gitlab-bot to check) https://gitlab.com/gitlab-org/gitlab/-/pipeline_schedules/23503/edit
- Interval cron:
5 */2 * * *
- Extra variable:
OMNIBUS_GITLAB_CACHE_UPDATE
set totrue
-
Add another pipeline schedule which sets SCHEDULE_TYPE
tomaintenance
. Also setRUBY_VERSION
to3.0
. Set it to run the other 2-hourly from the current one- (Has to be logged in as @gitlab-bot to check) https://gitlab.com/gitlab-org/gitlab/-/pipeline_schedules/257835/edit
- Interval cron:
5 1-23/2 * * *
TODO after merged
-
Remove FREQUENCY
in the pipeline schedules -
Activate the new schedule: [2-hourly] [maintenance] [Ruby3] Repo caching, Review Apps cleanup, Caches update
(Has to be logged in as @gitlab-bot to check) https://gitlab.com/gitlab-org/gitlab/-/pipeline_schedules/257835/edit
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #340298 (closed)
Edited by Lin Jen-Shin