Conversation
The binaries in demodularized rubies were suffixed with the MAJOR.MINOR versioning. In these containers, provide the unversioned commands via a symlink.
With Bundler >= 4.0, the CLI no longer accepts config options as part of CLI. Set the path to a custom directory in a local directory with `bundle config set --local path <path>` where applicable.
|
[test-all] |
Pull Request validationSuccess🟢 CI - All checks have passed Auto MergeFailed🔴 Pull Request has unsupported target branch Success🟢 Pull Request is not marked as draft and it's not blocked by |
Testing Farm results
|
|
[test-all] |
110285d to
243a7a2
Compare
|
[test-all] |
Delete the 2.5/test/examples symlink and add Ruby 2.5 specific files where necessary. This change is necessary as there is increased difficulty in code sharing between 4.0 and 2.5. Here the change was prompted by bundler's CLI incompatibilities. Bundler 4 removed ability to specify configuration options, such as `--path` with some commands such as `install`. Options have to be set throught `bundle config` CLI. However between bundler 1.16 in Ruby 2.5 and Bundler 4 in Ruby 4.0 there are differences in the CLI API, where it is not possible to share the same set of commands easily and achieve the same effect. Attempt to set the path via `bundle config set` in Ruby 2.5 container will produce bogus value in `./.bundle/config` that can result in undesired install behavior. And in Bundler 4, using `bundle config` without `set` `get`, ... is deprecated. Instead of trying to keep the compatibility between versions at all cost, the offending Dockerfile was replaced by actual file, the rest of the directory was symlinked per-item to retain code sharing where reasonable.
|
[test-all] |
|
[test-all] |
|
[test-all] |
1 similar comment
|
[test-all] |
|
@phracek FYI |
|
[test][test-pytest] |
|
[test-openshift-pytest] |
|
[test-openshift-pytest] |
jackorp
left a comment
There was a problem hiding this comment.
From Ruby point of view, it looks good.
|
[test-all] |
phracek
left a comment
There was a problem hiding this comment.
LGTM. Thanks folks. Awesome work. Go ahead with such approach 👍 🚀
Revert this when imagestreams are available
Fedora should be added when available
|
[test-all] |
No description provided.