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

Bump Ruby dependency to 3.x (or at least 2.7) #2247

Open
dduportal opened this issue Jul 4, 2022 · 2 comments
Open

Bump Ruby dependency to 3.x (or at least 2.7) #2247

dduportal opened this issue Jul 4, 2022 · 2 comments

Comments

@dduportal
Copy link
Contributor

As per https://www.ruby-lang.org/en/downloads/ , Ruby 2.6 is end of line.

We should update this project to run on ruby 2.7, at least (with bundler from 1.17 to 2.x!), or better: to the latest stable 3.x.

#2235 showed us that Ruby 3.x does not work out of the box (or maybe it's bundler 2.x).

The ci.jenkins.io is, for now, defined in the following Docker image: https://github.com/jenkins-infra/docker-inbound-agents/blob/main/ruby/Dockerfile which is quite outdated (Ruby 2.6, Debian stretch).

@dduportal
Copy link
Contributor Author

As mentioned in jenkins-infra/packer-images#269 (comment): once we'll bump ruby minor (or major) version, we'll have to add an updatecli manifest to track ruby update (mandatory).

@timja
Copy link
Member

timja commented Jul 6, 2022

Ruby 3.x would be great. :)

dduportal added a commit to jenkins-infra/docker-inbound-agents that referenced this issue Jul 8, 2022
- 2.6.10 is (and will be) the final version of 2.6 baseline of ruby (jenkins-infra/jenkins-infra#2247)
- Using the `slim` image instead of `stretch` to avoid depending on a given distribution
dduportal added a commit to jenkins-infra/docker-inbound-agents that referenced this issue Jul 8, 2022
- 2.6.10 is (and will be) the final version of 2.6 baseline of ruby (jenkins-infra/jenkins-infra#2247)
- Using the `slim` image instead of `stretch` to avoid depending on a given distribution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants