Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ruby to 3.0.5 #50743

Merged
merged 19 commits into from Jul 3, 2023
Merged

Update Ruby to 3.0.5 #50743

merged 19 commits into from Jul 3, 2023

Conversation

Hamms
Copy link
Contributor

@Hamms Hamms commented Mar 14, 2023

Update Ruby to 3.x!

Ruby 3.0 includes a number of breaking changes since 2.7, which should all have been already fixed:

Links

See #47961 for our last major Ruby version update.

Ruby version release announcements:

Testing story

Tested on Drone with an updated Drone image running Ruby 3. Also tested on adhocs both that this version of Ruby works on its own and that the update can be applied successfully to an existing server already running Ruby 2.7.

Deployment strategy

If everything goes entirely according to plan, this update should in theory require no manual intervention. We should plan to deploy this change on its own as a standalone deploy with the rest of the pipeline closed off in case anything doesn't go according to plan and we need to revert.

Follow-up work

Once all servers have been updated to Ruby 3, we can drop support for 2.7

We should quickly follow up this major version update with another update to pick up any patches that have come out since the upgrade work began.

Support for Ruby 3.0 ends in 9 months; end of March 2024. We should immediately begin preparing for an update to Ruby 3.1.

@Hamms Hamms added the Ruby Update Everything related to work to update the version of Ruby our codebase runs on label Mar 22, 2023
@Hamms Hamms changed the title Ruby 3.0.5 Update Ruby to 3.0.5 Jun 29, 2023
@Hamms Hamms marked this pull request as ready for review June 29, 2023 21:48
@Hamms Hamms requested a review from a team as a code owner June 29, 2023 21:48
@Hamms Hamms merged commit 13ca817 into staging Jul 3, 2023
1 of 2 checks passed
@Hamms Hamms deleted the ruby-3.0.5 branch July 3, 2023 21:31
Hamms added a commit that referenced this pull request Jul 4, 2023
Hamms added a commit that referenced this pull request Jul 4, 2023
* Revert "Update Ruby to 3.0.5 (#50743)"

This reverts commit 13ca817.

* continue to support both Ruby 2.7 and 3.0, since some of our servers have already upgraded to the latter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ruby Update Everything related to work to update the version of Ruby our codebase runs on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants