Skip to content

cloudsmith_release: reintroduce configurable ruby_version/bundler_version with safe defaults - #90

Open
tungleduyxyz wants to merge 2 commits into
mainfrom
ruby-version-input-safe-default
Open

cloudsmith_release: reintroduce configurable ruby_version/bundler_version with safe defaults#90
tungleduyxyz wants to merge 2 commits into
mainfrom
ruby-version-input-safe-default

Conversation

@tungleduyxyz

@tungleduyxyz tungleduyxyz commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #89 (revert of #88).

Re-adds the ability to configure the JRuby (or Ruby) version and paired Bundler version used by cloudsmith_release.yml when with_ruby: 'true' — but this time the new ruby_version/bundler_version inputs default to the values already in production use (jruby-9.4.15.0 / 2.6.9) instead of silently switching every existing with_ruby caller over to JRuby 10 + bundler 2.7.2, which is what #88 did and what caused:

org.jruby.rack.RackInitializationException: Your bundle only supports platforms ["universal-java-11"] but your local platform is universal-java-21.

after killbill-admin-ui-standalone's snapshot_release.yml (the only caller with with_ruby: 'true') picked up the new default.

Usage

Callers that actually want JRuby 10 (e.g. killbill-admin-ui-standalone's jruby10-upgrade branch, once ready to merge) can opt in explicitly in their own workflow file:

with:
  ruby_version: 'jruby-10.0.6.0'
  bundler_version: '2.7.2'

Depends on #89 being merged first (stacked on top of it).

tungleduyxyz and others added 2 commits September 10, 2026 13:42
…sion with safe defaults

Follow-up to #89 (revert of #88). Re-adds the ability to configure the
JRuby (or Ruby) version and paired Bundler version used when
with_ruby: 'true', but this time defaults both to the values already
in production use (jruby-9.4.15.0 / bundler 2.6.9) instead of silently
switching every existing with_ruby caller to JRuby 10 + bundler 2.7.2.

Callers that want JRuby 10 (e.g. killbill-admin-ui-standalone's
jruby10-upgrade branch, once merged) can opt in explicitly:

  with:
    ruby_version: 'jruby-10.0.6.0'
    bundler_version: '2.7.2'

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant