Skip to content

Commit

Permalink
Update heroku/procfile-cnb to v3.0.0 (#469)
Browse files Browse the repository at this point in the history
* Update heroku/procfile-cnb to v3.0.0

## heroku/procfile

### Added

- Enabled tracing/telemetry via `libcnb`'s `trace` feature. ([#208](heroku/buildpacks-procfile#208))

### Changed

- Updated to Buildpack API 0.10. ([#205](heroku/buildpacks-procfile#205))
    - All launch processes are now wrapped in `bash -c` instead of using CNB's `direct = false` directive, which is no longer available.
    - `.profile` and `.profile.d` scripts will no longer be automatically sourced.
    - CNB Lifecycle 0.17 or newer is now required.

* Downgrade procfile to v2.0.2 in legacy builder images

We have to use Procfile CNB v2.0.2 in this builder image, since cnb-shim
isn't compatible with the direct process mode used in newer Procfile CNB:
heroku/cnb-shim#74

---------

Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com>
Co-authored-by: Ed Morley <[email protected]>
  • Loading branch information
heroku-linguist[bot] and edmorley authored Feb 28, 2024
1 parent 0659f11 commit befc9c5
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 16 deletions.
16 changes: 8 additions & 8 deletions builder-20/builder.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ version = "0.18.5"

[[buildpacks]]
id = "heroku/procfile"
uri = "docker://docker.io/heroku/procfile-cnb@sha256:2549eee29b64c5dc063a3966c65baf1f264389645f54d416a320aa9e20b09592"
uri = "docker://docker.io/heroku/procfile-cnb@sha256:dbf9dd716f869678e8bdaa47dbe7bdb5e5bd39c2e537dbcfb1f22ce613534ab2"

[[buildpacks]]
id = "heroku/python"
Expand All @@ -46,7 +46,7 @@ version = "0.18.5"
version = "0.8.2"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true

[[order]]
Expand All @@ -67,7 +67,7 @@ version = "0.18.5"
version = "2.1.2"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true

[[order]]
Expand All @@ -76,7 +76,7 @@ version = "0.18.5"
version = "2.6.6"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true

[[order]]
Expand All @@ -85,7 +85,7 @@ version = "0.18.5"
version = "4.1.0"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true

[[order]]
Expand All @@ -94,7 +94,7 @@ version = "0.18.5"
version = "4.1.0"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true

[[order]]
Expand All @@ -103,7 +103,7 @@ version = "0.18.5"
version = "0.1.16"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true

[[order]]
Expand All @@ -112,5 +112,5 @@ version = "0.18.5"
version = "0.1.2"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true
16 changes: 8 additions & 8 deletions builder-22/builder.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ version = "0.18.5"

[[buildpacks]]
id = "heroku/procfile"
uri = "docker://docker.io/heroku/procfile-cnb@sha256:2549eee29b64c5dc063a3966c65baf1f264389645f54d416a320aa9e20b09592"
uri = "docker://docker.io/heroku/procfile-cnb@sha256:dbf9dd716f869678e8bdaa47dbe7bdb5e5bd39c2e537dbcfb1f22ce613534ab2"

[[buildpacks]]
id = "heroku/python"
Expand All @@ -46,7 +46,7 @@ version = "0.18.5"
version = "0.8.2"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true

[[order]]
Expand All @@ -67,7 +67,7 @@ version = "0.18.5"
version = "2.1.2"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true

[[order]]
Expand All @@ -76,7 +76,7 @@ version = "0.18.5"
version = "2.6.6"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true

[[order]]
Expand All @@ -85,7 +85,7 @@ version = "0.18.5"
version = "4.1.0"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true

[[order]]
Expand All @@ -94,7 +94,7 @@ version = "0.18.5"
version = "4.1.0"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true

[[order]]
Expand All @@ -103,7 +103,7 @@ version = "0.18.5"
version = "0.1.16"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true

[[order]]
Expand All @@ -112,5 +112,5 @@ version = "0.18.5"
version = "0.1.2"
[[order.group]]
id = "heroku/procfile"
version = "2.0.2"
version = "3.0.0"
optional = true
3 changes: 3 additions & 0 deletions builder-classic-22/builder.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ version = "0.17.4"
id = "heroku/php"
uri = "https://cnb-shim.herokuapp.com/v1/heroku/php?version=0.0.0&name=Heroku+PHP+(Shimmed)"

# We have to use Procfile CNB v2.0.2 in this builder image, since cnb-shim isn't compatible with
# the direct process mode used in newer Procfile CNB:
# https://github.com/heroku/cnb-shim/issues/74
[[buildpacks]]
id = "heroku/procfile"
uri = "docker://docker.io/heroku/procfile-cnb@sha256:2549eee29b64c5dc063a3966c65baf1f264389645f54d416a320aa9e20b09592"
Expand Down
3 changes: 3 additions & 0 deletions buildpacks-20/builder.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ version = "0.17.4"
id = "heroku/php"
uri = "https://cnb-shim.herokuapp.com/v1/heroku/php?version=0.0.0&name=Heroku+PHP+(Shimmed)"

# We have to use Procfile CNB v2.0.2 in this builder image, since cnb-shim isn't compatible with
# the direct process mode used in newer Procfile CNB:
# https://github.com/heroku/cnb-shim/issues/74
[[buildpacks]]
id = "heroku/procfile"
uri = "docker://docker.io/heroku/procfile-cnb@sha256:2549eee29b64c5dc063a3966c65baf1f264389645f54d416a320aa9e20b09592"
Expand Down

0 comments on commit befc9c5

Please sign in to comment.