Allow CI to run Ruby 3.2.2
What does this MR do and why?
Run various Ruby versions
- Default: 3.1
- Merge requests: Default (3.1)
- Default branch: Default (3.1)
-
ruby3_0
branch: Old (3.0) -
ruby3_2
branch: Next (3.2) - With labels: Use the respective versions
Now that Ruby 3.1.4 is in production, move to Ruby 3.2.2 to take advantage of YJIT.
Relates to &9684
Validation
- With pipeline:run-in-ruby3_2
- RSpec
rspec fail-fast
:✅ https://gitlab.com/gitlab-org/gitlab/-/jobs/5810758085 - CNG
gitlab-rails-ee
:✅ https://gitlab.com/gitlab-org/build/CNG-mirror/-/jobs/5811226201 - Omnibus
Trigger:package
:✅ https://gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/-/jobs/5810926601- Using 3.1 to build, but it's building 3.2
- RSpec
- No label for Ruby 3.1:
- RSpec
rspec fail-fast
:✅ https://gitlab.com/gitlab-org/gitlab/-/jobs/5812178423 - CNG
gitlab-rails-ee
:✅ https://gitlab.com/gitlab-org/build/CNG-mirror/-/jobs/5812193674 - Omnibus
Trigger:package
:✅ https://gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/-/jobs/5812194664
- RSpec
- With pipeline:run-in-ruby3_0
- RSpec
rspec fail-fast
:✅ https://gitlab.com/gitlab-org/gitlab/-/jobs/5812084317 - CNG
gitlab-rails-ee
: https://gitlab.com/gitlab-org/build/CNG-mirror/-/jobs/5812105404 - Omnibus
Trigger:package
:✅ https://gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/-/jobs/5812104052- Using 3.1 to build, but it's building 3.0
- RSpec
TODO before merge:
- Set up
ruby3_0
branch and pipeline schedules-
Protect ruby*_*
branch: https://gitlab.com/gitlab-org/gitlab/-/settings/repository/branch_rules?branch=ruby%2A_%2A -
Activate the schedule: https://gitlab.com/gitlab-org/gitlab/-/pipeline_schedules/1494985/edit?id=1494985
-
- Set up
ruby3_2
branch and pipeline schedules-
Protect ruby*_*
branch: https://gitlab.com/gitlab-org/gitlab/-/settings/repository/branch_rules?branch=ruby%2A_%2A -
Activate the schedule: https://gitlab.com/gitlab-org/gitlab/-/pipeline_schedules/1494984/edit?id=1494984
-
- Set up
ruby-sync
branch:-
Protect ruby-sync
branch: https://gitlab.com/gitlab-org/gitlab/-/settings/repository/branch_rules?branch=ruby-sync -
Generalize the pipeline: !140620 (merged) -
Activate the schedule: https://gitlab.com/gitlab-org/gitlab/-/pipeline_schedules/1494972/edit?id=1494972
-
-
Unprotect ruby3_1-sync
. It's covered byruby*_*
-
Unprotect ruby3_1
. It's covered byruby*_*
TODO after merge
- Stop or remove the schedule for
ruby3_1
-
Stop or remove the schedule for ruby3_1-sync
: https://gitlab.com/gitlab-org/gitlab/-/pipeline_schedules/284647/edit?id=284647 -
Update Ruby versions for FOSS schedules: https://gitlab.com/gitlab-org/gitlab-foss/-/pipeline_schedules
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.
Edited by Lin Jen-Shin