From 0cddf0d5d6dc44ccd1852d3a08ba7893f2ef1ad6 Mon Sep 17 00:00:00 2001 From: Aidan Delaney Date: Sun, 9 Apr 2023 18:36:22 +0100 Subject: [PATCH 1/2] Trust the build by default `pack` should trust the builder by default Signed-off-by: Aidan Delaney --- src/scripts/pack-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/pack-build.sh b/src/scripts/pack-build.sh index 17b26cf..9c7b4e4 100644 --- a/src/scripts/pack-build.sh +++ b/src/scripts/pack-build.sh @@ -51,6 +51,7 @@ create_command() { echo pack build \ --no-color \ --builder \"${PARAM_BUILDER}\" \ + --trust-builder \ $(create_path_flag "${PARAM_PATH}") \ $(create_buildpack_flags "${PARAM_BUILDPACKS}") \ $(create_env_var_flags "${PARAM_ENV_VARS}") \ From f0578ebd4b7bd8d85c88c7bd3e34a21ab608290c Mon Sep 17 00:00:00 2001 From: Aidan Delaney Date: Thu, 8 Jun 2023 05:48:44 +0100 Subject: [PATCH 2/2] Update machine image and pack version Update to using a modern Ubuntu base image and use latest `pack` version by default Signed-off-by: Aidan Delaney --- .circleci/config.yml | 4 ++-- src/@orb.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bd95a62..c8cabd3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,7 +26,7 @@ parameters: jobs: test: machine: - image: ubuntu-2004:202010-01 + image: ubuntu-2204:2023.04.2 steps: - checkout - run: @@ -34,7 +34,7 @@ jobs: command: make test github-release: machine: - image: ubuntu-2004:202010-01 + image: ubuntu-2204:2023.04.2 steps: - run: name: Install releaser diff --git a/src/@orb.yml b/src/@orb.yml index a6683e2..cc42540 100644 --- a/src/@orb.yml +++ b/src/@orb.yml @@ -40,7 +40,7 @@ jobs: version: type: string description: Version of 'pack' to use. - default: 0.26.0 + default: 0.29.0 after-checkout: description: Optional steps to run after checking out the code. type: steps @@ -48,7 +48,7 @@ jobs: executor-image: type: string description: Image to execute 'pack' in. - default: ubuntu-2004:202010-01 + default: ubuntu-2204:2023.04.2 steps: - run: sudo chown -R circleci /var/lib/docker/volumes - install-pack: @@ -79,7 +79,7 @@ commands: type: string version: type: string - default: 0.26.0 + default: 0.29.0 steps: - run: name: "Setup and install pack"