heroku / libcnb.rs

A framework for writing Cloud Native Buildpacks in Rust
BSD 3-Clause "New" or "Revised" License
34 stars 6 forks source link

Integration tests failing on `main` due to example Ruby CNB bundler error #755

Closed edmorley closed 8 months ago

edmorley commented 8 months ago

The integration tests in CI on main are failing with:

---- basic stdout ----
thread 'basic' panicked at /home/runner/work/libcnb.rs/libcnb.rs/libcnb-test/src/test_runner.rs:163:17:
Error performing pack build:

pack command failed with exit code 1!
error: test failed, to rerun pass `-p examples-ruby-sample --test integration_test`

## stderr:

[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path '/layers/libcnb-examples_ruby/bundler'`, and stop using this flag
[DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs --all`
bundler-2.5.3 requires ruby version >= 3.0.0, which is incompatible with the
current version, 2.7.4
Unhandled error:
> BuildpackError(BundleInstallUnexpectedExitStatus(ExitStatus(unix_wait_status(1280))))
Buildpack will exit!
ERROR: failed to build: executing lifecycle: failed with status code: 51

(from https://github.com/heroku/libcnb.rs/actions/runs/7374728375/job/20065448224?pr=754#step:8:536)

IMO this is yet another reason to just delete the example Ruby CNB from this repo for now (see #398 for more reasons).

GUS-W-14739082.