From 71edc0de0785809efbdf3070c99504c5bb9c7c2b Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Thu, 2 Nov 2023 12:33:02 +0000 Subject: [PATCH] Switch back to using `heroku/procfile` from the builder in tests The `heroku/builder:22` builder image will now only ever contain one version of the `heroku/procfile` CNB, after: https://github.com/heroku/buildpacks-jvm/pull/608 https://github.com/heroku/buildpacks-nodejs/pull/696 As such, we no longer need to use a manual Docker Hub URL to avoid the "multiple versions of this buildpack exist in the builder image" error. --- libcnb-test/tests/integration_test.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libcnb-test/tests/integration_test.rs b/libcnb-test/tests/integration_test.rs index 391b29b9..bc620086 100644 --- a/libcnb-test/tests/integration_test.rs +++ b/libcnb-test/tests/integration_test.rs @@ -17,11 +17,7 @@ use std::path::PathBuf; use std::time::Duration; use std::{env, fs, thread}; -// We're referencing the procfile buildpack via Docker URL to pin the version for the tests. This also -// prevents issues when the builder contains multiple heroku/procfile versions. We don't use CNB -// registry URLs since, as of August 2022, pack fails when another pack instance is resolving such -// an URL in parallel. -const PROCFILE_URL: &str = "docker://docker.io/heroku/procfile-cnb:2.0.1"; +const PROCFILE_URL: &str = "heroku/procfile"; const TEST_PORT: u16 = 12345; #[test]