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.1 to the CI matrix #55

Merged
merged 2 commits into from
Mar 24, 2022
Merged

Add Ruby 3.1 to the CI matrix #55

merged 2 commits into from
Mar 24, 2022

Conversation

petergoldstein
Copy link
Contributor

Signed-off-by: Peter Goldstein [email protected]

Description

Adds Ruby 3.1 to the CI matrix

Issues Resolved

Fixes a bug in the existing CI matrix. Github Actions will truncate an unquoted 3.0 to 3, and thus pull in the latest Ruby 3 version for that entry in the matrix. At this time that's Ruby 3.1.1, which is not what's intended. Adding quotes to the 3.0 resolves this issue.

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Peter Goldstein <[email protected]>
@petergoldstein
Copy link
Contributor Author

Previously run build showing that the '3.0' is being truncated to '3' and Ruby 3.1.1 is being loaded:

Screen Shot 2022-03-22 at 5 57 19 PM

@dblock
Copy link
Member

dblock commented Mar 23, 2022

Thanks for this! That's one reason to put each version on its own line, but I guess it would be fairly long :)

@dblock
Copy link
Member

dblock commented Mar 23, 2022

@petergoldstein Care to fix the link checker? Looks like api-spec-testing is no longer a thing ...

Signed-off-by: Peter Goldstein <[email protected]>
@petergoldstein
Copy link
Contributor Author

@dblock I just pushed up a commit removing the dead link. Please let me know if you need anything else. Thanks.

@dblock dblock requested review from VachaShah and a team March 24, 2022 18:33
@@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ 2.5, 2.6, 2.7, 3.0, jruby-9.3 ]
ruby: [ 2.5, 2.6, 2.7, '3.0', 3.1, jruby-9.3 ]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need to put 3.0 in single quotes ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See the comment and screenshot above in the PR. An unquoted 3.0 is truncated to 3.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah my bad, didn't read the details. I thought we are only adding 3.1

@dblock dblock merged commit 2a2c81f into opensearch-project:main Mar 24, 2022
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.

4 participants