Skip to content

Commit

Permalink
Downgrade lifecycle version to 0.17.2 for some builder images
Browse files Browse the repository at this point in the history
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
  • Loading branch information
edmorley committed Nov 14, 2023
1 parent edf2fab commit 36c7e8c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
5 changes: 4 additions & 1 deletion builder-classic-22/builder.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ build-image = "heroku/heroku:22-cnb-build"
run-image = "heroku/heroku:22-cnb"

[lifecycle]
version = "0.18.1"
# We have to use an older lifecycle version in this builder image since lifecycle 0.18.0
# dropped support for Buildpack API versions <0.7, and cnb-shim is currently using v0.4:
# https://github.com/heroku/cnb-shim/issues/69
version = "0.17.2"

[[buildpacks]]
id = "heroku/builder-eol-warning"
Expand Down
5 changes: 4 additions & 1 deletion buildpacks-20/builder.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ build-image = "heroku/heroku:20-cnb-build"
run-image = "heroku/heroku:20-cnb"

[lifecycle]
version = "0.18.1"
# We have to use an older lifecycle version in this builder image since lifecycle 0.18.0
# dropped support for Buildpack API versions <0.7, and cnb-shim is currently using v0.4:
# https://github.com/heroku/cnb-shim/issues/69
version = "0.17.2"

[[buildpacks]]
id = "heroku/builder-eol-warning"
Expand Down
7 changes: 6 additions & 1 deletion salesforce-functions/builder.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ build-image = "heroku/heroku:22-cnb-build"
run-image = "heroku/heroku:22-cnb"

[lifecycle]
version = "0.18.1"
# We have to use an older lifecycle version in this builder image since lifecycle 0.18.0
# dropped support for Buildpack API versions <0.7, and:
# - heroku/nodejs-function is still using the old Bash based NPM CNB (which is using Buildpack API 0.6)
# - we know of at least one custom buildpack that's also using a legacy Buildpack API:
# https://github.com/CSGAMERSServices/puppeteer-heroku-buildpack
version = "0.17.2"

[[buildpacks]]
id = "heroku/java-function"
Expand Down

0 comments on commit 36c7e8c

Please sign in to comment.