-
Notifications
You must be signed in to change notification settings - Fork 12
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
Update lifecycle from v0.17.2 to v0.18.1 #431
Conversation
CI is failing because:
In addition to the cases seen in CI, there is also at least one Functions customer using this Buildpack API 0.2 (!!) buildpack: |
992e419
to
83a1f17
Compare
83a1f17
to
4fea415
Compare
4fea415
to
edf2fab
Compare
Since these builder images contain buildpacks that are using Buildpack API versions no longer supported in lifecycle 0.18.0+: https://github.com/buildpacks/lifecycle/releases/tag/v0.18.0 https://github.com/buildpacks/lifecycle#supported-apis
I've downgraded the lifecycle version in the affected builder images to their original lifecycle version. For now, we'll only use the new lifecycle version in This is still a breaking change for anyone using
|
Since Buildpack API 0.6 has been deprecated for some time, and is no longer supported by newer versions of `lifecycle`, which is causing CI to fail since the integration tests in this repo use `heroku/builder:22`, which has just had its lifecycle version upgraded: heroku/cnb-builder-images#431 These CI failures are not reflective of production (which is working fine), since Functions in production are actually run via the functions builder image (and not `heroku/builder:22`), which was intentionally left on the old lifecycle version. However, this functions builder image is not available on Docker Hub, so can't be used by the integration tests in this repo. Improving parity of the integration tests here might be worth considering longer term, however, upgrading the Buildpack API version was a simpler (and arguably correct thing to do regardless) step for now. There are no breaking changes that affect this buildpack in the new API version, so no buildpack changes were required: https://github.com/buildpacks/spec/releases/tag/buildpack%2Fv0.7 Fixes #720. GUS-W-14493124.
Release notes:
https://github.com/buildpacks/lifecycle/releases/tag/v0.18.0
https://github.com/buildpacks/lifecycle/releases/tag/v0.18.1
Full changelog:
buildpacks/lifecycle@v0.17.2...v0.18.1