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

Add ruby 3.2 to CI #1759

Merged
merged 5 commits into from
Feb 13, 2023
Merged

Add ruby 3.2 to CI #1759

merged 5 commits into from
Feb 13, 2023

Conversation

stoivo
Copy link
Contributor

@stoivo stoivo commented Feb 10, 2023

Something fails on when I use ruby 3.2 in production. I think this should work but it is allways good to test have it in ci too.

@stoivo stoivo force-pushed the main branch 3 times, most recently from 183ac08 to 55f15ee Compare February 10, 2023 10:32
@stoivo
Copy link
Contributor Author

stoivo commented Feb 10, 2023

Sorry if you think I changed to many things in one MR. It is less work on one MR when it soo related.

}
end

def test_ruby_2_7_eol
assert_warning check_name: "EOLRuby",
Copy link
Owner

@presidentbeef presidentbeef Feb 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break again on 2023-03-31 (or maybe sooner).

Can you wrap it in code like this? (This is what's done here)

Date.stub :today, Date.parse('2023-02-10') do
  assert_warning ...
end

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is updated. I wraped the scann method

It is useful to see which exact version it is running since when we
specify cimg/ruby:3.2 we don't know if we will get 3.2.0 or 3.2.1. We
will always get the most recent but now it is printed.
Based on that the newer ruby image for circleci/ruby is 3.0.3 and
cimg/ruby has 3.2.1. I thinkg cimg/ruby is better overall. It is also
procuced bu CircleCI.

CircleCI has a repo https://github.com/CircleCI-Public/cimg-overview
where they document so of the build status and here it states that
`cimg/ruby` replaces `circleci/ruby`. Also
https://github.com/CircleCI-Public/cimg-ruby states "This image is
designed to supercede the legacy CircleCI Ruby image, circleci/ruby."
@presidentbeef presidentbeef merged commit 3a32dfd into presidentbeef:main Feb 13, 2023
@presidentbeef
Copy link
Owner

Thanks!

Repository owner locked and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants