Skip to content

Install ruby 2.7 in CI image#265

Merged
bors[bot] merged 1 commit intomasterfrom
ruby-2.7-ci-image
Feb 15, 2021
Merged

Install ruby 2.7 in CI image#265
bors[bot] merged 1 commit intomasterfrom
ruby-2.7-ci-image

Conversation

@davidor
Copy link
Copy Markdown
Contributor

@davidor davidor commented Feb 15, 2021

This PR install ruby 2.7 in the CI image. It also uninstalls 2.6 because we no longer need to ensure that apisonator works with that version.

@davidor davidor requested a review from unleashed February 15, 2021 18:46
Copy link
Copy Markdown
Contributor

@unleashed unleashed left a comment

Choose a reason for hiding this comment

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

LGTM, but check the comment before merging.

Comment thread Dockerfile.ci
" for ruby_version in \$(rbenv whence ruby); do\n" \
" echo \"Switching to \${ruby_version}\"\n" \
" rbenv shell \"\${ruby_version}\"\n" \
" gem update --system\n" \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Have you needed this line for it to work? I remember having had issues with some broken gem updates in the past, so I went with the gem version shipping which each ruby version.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, this is needed for ruby 2.7. With the version installed by default, it crashes.

@davidor
Copy link
Copy Markdown
Contributor Author

davidor commented Feb 15, 2021

bors r=@unleashed

@bors
Copy link
Copy Markdown
Contributor

bors Bot commented Feb 15, 2021

Build succeeded:

@bors bors Bot merged commit df4381d into master Feb 15, 2021
@bors bors Bot deleted the ruby-2.7-ci-image branch February 15, 2021 19:12
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

Successfully merging this pull request may close these issues.

2 participants