rspec / rspec-core

RSpec runner and formatters
http://rspec.info
MIT License
1.23k stars 765 forks source link

Attempt to switch to Ubuntu 20.04 to fix JRuby 9.1.17.0 build #3016

Closed pirj closed 1 year ago

pirj commented 1 year ago

https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources https://github.com/rspec/rspec-core/actions/runs/4314616470/jobs/7527887352:

Run ruby/setup-ruby@v1 Error: Error: Unsupported platform ubuntu-18.04 at Module.getAvailableVersions (/home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:67995:11)

pirj commented 1 year ago
Run bundle install --standalone

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/home/runner/.rubies/jruby-9.1.17.0/lib/ruby/stdlib/jopenssl.jar) to field java.security.MessageDigest.provider
WARNING: Please consider reporting this to the maintainers of org.jruby.ext.openssl.SecurityHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

NoMethodError: undefined method []' for nil:NilClass /home/runner/.rubies/jruby-9.1.17.0/lib/ruby/gems/shared/gems/bundler-2.2.22/lib/bundler/source/git/git_proxy.rb:82:inversion' /home/runner/.rubies/jruby-9.1.17.0/lib/ruby/gems/shared/gems/bundler-2.2.22/lib/bundler/source/git/git_proxy.rb:256:in `supports_minus_c?' ... Error: Process completed with exit code 1.



Apparently while checking out other RSpec git repos.

I'm more inclined to remove 9.1.17 builds from our ci, WDYT @JonRowe ?
JonRowe commented 1 year ago

I'm more inclined to move it into the legacy builds temporarily (until we can drop them all)

pirj commented 1 year ago

Does it involve uploading a container image like rspec/ci:jruby-1.7? I'm uncertain if I have access there.