Skip to content

Test with rails-ex on branch 3.3 going forward. #518

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

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

jackorp
Copy link
Contributor

@jackorp jackorp commented Feb 13, 2024

rails-ex for Ruby 3.3 needs updated dependencies
but that's not possible as RHEL 7 requires pg <= 1.2.3 due to the old PostgreSQL available. Therefore, by default we'll use [email protected] for tests, older rubies such as 3.1 or 2.5 will keep using the rails-ex@master.

@jackorp
Copy link
Contributor Author

jackorp commented Feb 13, 2024

PTAL @phracek I hope I remembered correctly from our meetings that the new rails-ex branch will be the new de-facto default.

Not sure, do some openshift tests somewhere also need similar adjusting?

@jackorp jackorp mentioned this pull request Feb 13, 2024
Copy link
Member

@pvalena pvalena left a comment

Choose a reason for hiding this comment

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

1 suggestion (above), but otherwise LGTM!

rails-ex for Ruby 3.3 needs updated dependencies
but that's not possible as RHEL 7 requires pg <= 1.2.3
due to the old PostgreSQL available. Therefore, by default
we'll use [email protected] for tests, older rubies such as 3.1
or 2.5 will keep using the rails-ex@master.
@jackorp jackorp force-pushed the update-rails-ex-for-tests branch from 1116158 to 585d187 Compare February 20, 2024 14:32
@jackorp
Copy link
Contributor Author

jackorp commented Feb 20, 2024

@pvalena PTAL for bash. I used a function to cut down on repetition in the Openshift tests. I think we want to differentiate the remote ref in all openshift tests due to the Rails app dependency changes.

And I think it'd be a good idea to run tests with this to validate I didn't make behavior changes for the current state before inclusion of Ruby 3.3 @phracek

@phracek
Copy link
Member

phracek commented Feb 21, 2024

[test-all]

Copy link
Member

@phracek phracek left a comment

Choose a reason for hiding this comment

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

I did not hit any issue.

@phracek phracek merged commit c1de1db into sclorg:master Feb 21, 2024
phracek pushed a commit to pvalena/s2i-ruby-container that referenced this pull request Feb 22, 2024
* Test with rails-ex on branch 3.3 going forward.

rails-ex for Ruby 3.3 needs updated dependencies
but that's not possible as RHEL 7 requires pg <= 1.2.3
due to the old PostgreSQL available. Therefore, by default
we'll use [email protected] for tests, older rubies such as 3.1
or 2.5 will keep using the rails-ex@master.

* Use rails-ex ref 3.3 when testing with Ruby 3.3 and newer.
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.

3 participants