For 16.11: Explicitly set Omnibus and CNG Ruby version in CI
What does this MR do and why?
This is a backport of !152687 (merged)
And we pick Ruby 3.1.4 instead of 3.1.5 because we shipped 3.1.4 and we don't intend to upgrade for the next 16-11 release.
- This is to fix https://gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/-/jobs/7262219578 from https://gitlab.com/gitlab-org/security/gitlab/-/merge_requests/4132
- And it's fixed https://gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/-/jobs/7263781254 from this merge request
This will create a version disparity between the pipeline in this project and Omnibus and CNG, but that's the risk we're taking here instead of changing the image we're using for this project, which we will have to update more. This was caused by using image specifying only Ruby 3.1, so we cannot control which patch level we'll be getting.
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.