-
Notifications
You must be signed in to change notification settings - Fork 346
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
Refresh Gemfile.lock #128
Refresh Gemfile.lock #128
Conversation
@yselkowitz @pkubatrh is there any way we could test this PR with s2i-ruby-container? (I have no access to OpenShift instance.) |
|
Yes, I'd do that, apart from s2i not working with I've tried once more with most recent rawhide, but the issue is still same. The |
@yselkowitz off course you'd also need to run the app and check for its "health". |
@pkubatrh did we have any means we could try this PR with some PR on s2i-ruby? |
I get the following with 2.7:
Builds with 2.5 and 2.6 complete and appear to function correctly, once RAILS_ENV is defined. |
I am not sure if how the following part in
By the way, the bundled
Here is the result I created the
|
As another topic, it might be useful for this repository to have CI like s2i-ruby-container 's .travis.yml. |
I tried to test the
|
Actually, as this is only used for I think this could be done with @pkubatrh WDYT? |
@junaruga Thanks for testing! I'm not sure however this accurately approximates s2i build though. |
Even when this repo is only used for s2i-ruby-container, the we want to check the modification such as this PR at the PR timing, do not we? Test fast, fail fast. If there was the CI checking What I imagined for this repo's CI is
|
@yselkowitz what command did you run,
Yes, this is caused by Ruby 2.7 switching to Bundler 2. Now it requires Gemfile.lock 'conversion'. Bundler 2 didn't bring any backward incompatible changes, but they may diverge further on, so they're not interchangable and thus require conversion. IOW you can't have same Gemfile.lock for Ruby 2.7 and previous, unless we'll add |
The change is made once a year at most. Not sure timing plays role at these scales asi it's just an "example" app. AFAIR we have discussed this some time ago with @hhorak and we've concluded it was not worth the effort (we'we opted for simple "sanity" check).
Yes, but you have to also catch the error codes, check if the resulting container runs (the app itself runs and responds).. that's why we have |
Ok, let's merge this, and resolve Ruby 2.7 support in another PR. |
Log from doing the Refresh and TEST:
https://gist.github.com/pvalena/cc6bf3cfad746d944a287aa4bd6486a1
The
Gemfile.lock
refresh was done in ubi8/ruby-2.5 container. No changes were made toGemfile
/ other contstraints.@voxik @junaruga PTAL.