From befc9c5fa913e86f786bfbe8bc1205e9095da7fc Mon Sep 17 00:00:00 2001 From: "heroku-linguist[bot]" <136119646+heroku-linguist[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 09:38:11 +0000 Subject: [PATCH] Update heroku/procfile-cnb to v3.0.0 (#469) * Update heroku/procfile-cnb to v3.0.0 ## heroku/procfile ### Added - Enabled tracing/telemetry via `libcnb`'s `trace` feature. ([#208](https://github.com/heroku/procfile-cnb/pull/208)) ### Changed - Updated to Buildpack API 0.10. ([#205](https://github.com/heroku/procfile-cnb/pull/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: https://github.com/heroku/cnb-shim/issues/74 --------- Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com> Co-authored-by: Ed Morley <501702+edmorley@users.noreply.github.com> --- builder-20/builder.toml | 16 ++++++++-------- builder-22/builder.toml | 16 ++++++++-------- builder-classic-22/builder.toml | 3 +++ buildpacks-20/builder.toml | 3 +++ 4 files changed, 22 insertions(+), 16 deletions(-) diff --git a/builder-20/builder.toml b/builder-20/builder.toml index 1965556..077a186 100644 --- a/builder-20/builder.toml +++ b/builder-20/builder.toml @@ -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" @@ -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]] @@ -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]] @@ -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]] @@ -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]] @@ -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]] @@ -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]] @@ -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 diff --git a/builder-22/builder.toml b/builder-22/builder.toml index cf59e37..18be415 100644 --- a/builder-22/builder.toml +++ b/builder-22/builder.toml @@ -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" @@ -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]] @@ -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]] @@ -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]] @@ -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]] @@ -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]] @@ -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]] @@ -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 diff --git a/builder-classic-22/builder.toml b/builder-classic-22/builder.toml index 95ec611..e379127 100644 --- a/builder-classic-22/builder.toml +++ b/builder-classic-22/builder.toml @@ -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" diff --git a/buildpacks-20/builder.toml b/buildpacks-20/builder.toml index 2a11a65..f5501bf 100644 --- a/buildpacks-20/builder.toml +++ b/buildpacks-20/builder.toml @@ -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"