From d067b35e7056213a8728713a12c89e56e831db9b Mon Sep 17 00:00:00 2001 From: "porter-internal[bot]" <108749831+porter-internal[bot]@users.noreply.github.com> Date: Fri, 4 Oct 2024 19:56:59 +0000 Subject: [PATCH 01/82] Create porter_stack_stefan-testcachemultistep.yml file --- ...porter_stack_stefan-testcachemultistep.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/porter_stack_stefan-testcachemultistep.yml diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml new file mode 100644 index 0000000..9937f6c --- /dev/null +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -0,0 +1,29 @@ +"on": + push: + branches: + - main +name: Deploy to stefan-testcachemultistep +jobs: + porter-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Set Github tag + id: vars + run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + - name: Setup porter + uses: porter-dev/setup-porter@v0.1.0 + - name: Deploy stack + timeout-minutes: 30 + run: exec porter apply + env: + PORTER_CLUSTER: "11" + PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 + PORTER_HOST: https://dashboard.internal-tools.porter.run + PORTER_PR_NUMBER: ${{ github.event.number }} + PORTER_PROJECT: "8" + PORTER_REPO_NAME: ${{ github.event.repository.name }} + PORTER_STACK_NAME: stefan-testcachemultistep + PORTER_TAG: ${{ steps.vars.outputs.sha_short }} + PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} From 88127652e6f88daba7f86ef4e4ea3afea23bdab1 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 4 Oct 2024 15:57:46 -0400 Subject: [PATCH 02/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 9937f6c..3f36aa8 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -16,7 +16,7 @@ jobs: uses: porter-dev/setup-porter@v0.1.0 - name: Deploy stack timeout-minutes: 30 - run: exec porter apply + run: exec porter app build env: PORTER_CLUSTER: "11" PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 From 03841748b9df5146481a39070b2f70f779c9d657 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 4 Oct 2024 15:57:59 -0400 Subject: [PATCH 03/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 3f36aa8..a73ac35 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -1,7 +1,7 @@ "on": push: branches: - - main + - porter-stack-stefan-testcachemultistep-9570a955 name: Deploy to stefan-testcachemultistep jobs: porter-deploy: From e65a844e54aa703bca41f0bd32a4762269b551e0 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 4 Oct 2024 15:58:59 -0400 Subject: [PATCH 04/82] Create DockerfileStefanTest --- DockerfileStefanTest | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 DockerfileStefanTest diff --git a/DockerfileStefanTest b/DockerfileStefanTest new file mode 100644 index 0000000..fab52a4 --- /dev/null +++ b/DockerfileStefanTest @@ -0,0 +1,12 @@ +FROM golang:1.20.1 as installer +WORKDIR /porter +RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates +RUN go install github.com/go-delve/delve/cmd/dlv@latest +RUN chmod +x /go/bin/dlv + + +FROM debian:bullseye-slim as runner +WORKDIR /porter +RUN apt-get update && apt-get install -y --no-install-recommends sqlite3 +COPY --from=installer /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ +RUN go install github.com/go-delve/delve/cmd/dlv@latest From 1eeae495d6668991772eba3d228b7f856dd28680 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 4 Oct 2024 15:59:53 -0400 Subject: [PATCH 05/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index a73ac35..4551c07 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -16,7 +16,7 @@ jobs: uses: porter-dev/setup-porter@v0.1.0 - name: Deploy stack timeout-minutes: 30 - run: exec porter app build + run: exec porter apply env: PORTER_CLUSTER: "11" PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 From c3c3b9217f65492d313b1204210bb8ab8cd51bb5 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 4 Oct 2024 16:02:51 -0400 Subject: [PATCH 06/82] Update DockerfileStefanTest --- DockerfileStefanTest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DockerfileStefanTest b/DockerfileStefanTest index fab52a4..bbda792 100644 --- a/DockerfileStefanTest +++ b/DockerfileStefanTest @@ -7,6 +7,6 @@ RUN chmod +x /go/bin/dlv FROM debian:bullseye-slim as runner WORKDIR /porter -RUN apt-get update && apt-get install -y --no-install-recommends sqlite3 +RUN apt-get update && apt-get install -y --no-install-recommends sqlite3 curl COPY --from=installer /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ -RUN go install github.com/go-delve/delve/cmd/dlv@latest +RUN curl google.com From f6e348d4664ed922a9dc7e0ebf822757d4b65460 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 4 Oct 2024 16:09:20 -0400 Subject: [PATCH 07/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 4551c07..22185b3 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -27,3 +27,7 @@ jobs: PORTER_STACK_NAME: stefan-testcachemultistep PORTER_TAG: ${{ steps.vars.outputs.sha_short }} PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} + + DOCKER_BUILDKIT: "1" + BUILDKIT_INLINE_CACHE: "1" + From 52ee8101beed0538a72d7db49b99c2cf674c47df Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 4 Oct 2024 16:12:57 -0400 Subject: [PATCH 08/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 22185b3..89000ed 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -30,4 +30,5 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" + PORTER_BUILDKIT_ARGS: --cache-from type=local,src=/tmp/.buildx-cache --cache-to type=local,dest=/tmp/.buildx-cache-new,mode=max From f408c7ad6ba1fb14fcc2550c05d6876b5d20ca6e Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 4 Oct 2024 16:16:34 -0400 Subject: [PATCH 09/82] Update porter_stack_stefan-testcachemultistep.yml --- .../porter_stack_stefan-testcachemultistep.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 89000ed..349e740 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -14,9 +14,18 @@ jobs: run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + with: + driver-opts: image=moby/buildkit:latest + + - name: Deploy stack timeout-minutes: 30 - run: exec porter apply + run: | + docker buildx create --use + porter apply env: PORTER_CLUSTER: "11" PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 From 4383586a8093e0d1647e371eee02a4098b4eec96 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 4 Oct 2024 16:18:38 -0400 Subject: [PATCH 10/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 349e740..c7fa2db 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -39,5 +39,5 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" - PORTER_BUILDKIT_ARGS: --cache-from type=local,src=/tmp/.buildx-cache --cache-to type=local,dest=/tmp/.buildx-cache-new,mode=max + PORTER_BUILDKIT_ARGS: --cache-from type=gha --cache-to type=gha,mode=max From ae82d2440581fa9750b3e9ba6e18acb47a6dfbf0 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 4 Oct 2024 18:06:10 -0400 Subject: [PATCH 11/82] Update porter_stack_stefan-testcachemultistep.yml --- .../porter_stack_stefan-testcachemultistep.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index c7fa2db..035d3eb 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -19,7 +19,15 @@ jobs: uses: docker/setup-buildx-action@v3 with: driver-opts: image=moby/buildkit:latest - + + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: . + push: true + tags: "813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }}" + cache-from: type=gha + cache-to: type=gha,mode=max - name: Deploy stack timeout-minutes: 30 From 3ac5584dc80bf5fda3301dd26640f48d2b3a83bf Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 4 Oct 2024 18:09:43 -0400 Subject: [PATCH 12/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 035d3eb..bffc4e6 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -28,6 +28,7 @@ jobs: tags: "813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }}" cache-from: type=gha cache-to: type=gha,mode=max + file: DockerfileStefanTest - name: Deploy stack timeout-minutes: 30 From 3449eb3a184ca759a4ce41a1b3044c85aa3870ee Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 4 Oct 2024 18:11:39 -0400 Subject: [PATCH 13/82] Update porter_stack_stefan-testcachemultistep.yml --- ...porter_stack_stefan-testcachemultistep.yml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index bffc4e6..9fa32b5 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -20,15 +20,15 @@ jobs: with: driver-opts: image=moby/buildkit:latest - - name: Build and push - uses: docker/build-push-action@v6 - with: - context: . - push: true - tags: "813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }}" - cache-from: type=gha - cache-to: type=gha,mode=max - file: DockerfileStefanTest + # - name: Build and push + # uses: docker/build-push-action@v6 + # with: + # context: . + # push: true + # tags: "813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }}" + # cache-from: type=gha + # cache-to: type=gha,mode=max + # file: DockerfileStefanTest - name: Deploy stack timeout-minutes: 30 @@ -48,5 +48,5 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" - PORTER_BUILDKIT_ARGS: --cache-from type=gha --cache-to type=gha,mode=max + PORTER_BUILDKIT_ARGS: --cache-from type=gha --cache-to type=gha,mode=max --push From cd6f4c54f939914369903711243530bd8dad30b8 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Sun, 6 Oct 2024 19:26:26 -0400 Subject: [PATCH 14/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 9fa32b5..bb502fc 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -49,4 +49,5 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" PORTER_BUILDKIT_ARGS: --cache-from type=gha --cache-to type=gha,mode=max --push - + PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build -f DockerfileStefanTest --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460 --cache-to type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460,mode=max --build-arg PORTER_REPO_NAME=app-integration-tests --build-arg PORTER_STACK_NAME=stefan-testcachemultistep --build-arg PORTER_PROJECT=8 --build-arg PORTER_TOKEN=*** --build-arg PORTER_TAG=3449eb3 --build-arg PORTER_CLUSTER=11 --build-arg PORTER_HOST=https://dashboard.internal-tools.porter.run --build-arg PORTER_PR_NUMBER= --build-arg PORTER_DEPLOYMENT_TARGET_ID=b4d65cbc-45ec-43e1-9e44-d58cb5de3352 --platform linux/amd64 + # --cache-from type=gha --cache-to type=gha,mode=max --push From f35602579ff56d989f1c4068c4d4a61caf00699a Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Sun, 6 Oct 2024 20:04:41 -0400 Subject: [PATCH 15/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index bb502fc..5f0abaf 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -48,6 +48,6 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" - PORTER_BUILDKIT_ARGS: --cache-from type=gha --cache-to type=gha,mode=max --push - PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build -f DockerfileStefanTest --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460 --cache-to type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460,mode=max --build-arg PORTER_REPO_NAME=app-integration-tests --build-arg PORTER_STACK_NAME=stefan-testcachemultistep --build-arg PORTER_PROJECT=8 --build-arg PORTER_TOKEN=*** --build-arg PORTER_TAG=3449eb3 --build-arg PORTER_CLUSTER=11 --build-arg PORTER_HOST=https://dashboard.internal-tools.porter.run --build-arg PORTER_PR_NUMBER= --build-arg PORTER_DEPLOYMENT_TARGET_ID=b4d65cbc-45ec-43e1-9e44-d58cb5de3352 --platform linux/amd64 + # PORTER_BUILDKIT_ARGS: --cache-from type=gha --cache-to type=gha,mode=max --push + PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460 --cache-to=type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460,mode=max --platform=linux/amd64 # --cache-from type=gha --cache-to type=gha,mode=max --push From e3b0094cdf2171c90ac532da6913cde799dce811 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Sun, 6 Oct 2024 21:42:44 -0400 Subject: [PATCH 16/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 5f0abaf..8ab44c1 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -49,5 +49,5 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" # PORTER_BUILDKIT_ARGS: --cache-from type=gha --cache-to type=gha,mode=max --push - PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460 --cache-to=type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460,mode=max --platform=linux/amd64 + PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460 --cache-to=type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460,mode=max --platform=linux/amd64 # --cache-from type=gha --cache-to type=gha,mode=max --push From 11aa8469577225abbb9cc14bd6080d787cacf248 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Sun, 6 Oct 2024 21:45:48 -0400 Subject: [PATCH 17/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 8ab44c1..e47bbfa 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -48,6 +48,6 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" - # PORTER_BUILDKIT_ARGS: --cache-from type=gha --cache-to type=gha,mode=max --push - PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460 --cache-to=type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460,mode=max --platform=linux/amd64 + # PORTER_BUILDKIT_ARGS: + PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from type=gha --cache-to type=gha,mode=max --push --platform=linux/amd64 # --cache-from type=gha --cache-to type=gha,mode=max --push From fe0cc7a36360f5319b930a3a206d5a780053b1cb Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Sun, 6 Oct 2024 23:59:11 -0400 Subject: [PATCH 18/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index e47bbfa..5fa23f6 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -49,5 +49,5 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" # PORTER_BUILDKIT_ARGS: - PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from type=gha --cache-to type=gha,mode=max --push --platform=linux/amd64 + PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --push --platform=linux/amd64 # --cache-from type=gha --cache-to type=gha,mode=max --push From 3e8cd3831b873a66626a9c3616dba5214b1f483a Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 00:01:11 -0400 Subject: [PATCH 19/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 5fa23f6..ed6b0fe 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -49,5 +49,5 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" # PORTER_BUILDKIT_ARGS: - PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --push --platform=linux/amd64 + PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --platform=linux/amd64 # --cache-from type=gha --cache-to type=gha,mode=max --push From 86ab72dd61aff34b85cd32116cb9baef7aa29627 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 00:03:55 -0400 Subject: [PATCH 20/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index ed6b0fe..417af4c 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -34,7 +34,8 @@ jobs: timeout-minutes: 30 run: | docker buildx create --use - porter apply + docker buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --platform=linux/amd64 + # porter apply env: PORTER_CLUSTER: "11" PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 @@ -49,5 +50,5 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" # PORTER_BUILDKIT_ARGS: - PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --platform=linux/amd64 + # PORTER_BUILDKIT_COMPLETE_OVERRIDE: # --cache-from type=gha --cache-to type=gha,mode=max --push From 73a6af6dc899c64573c6d723b1e9494129bdfe8f Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 00:04:55 -0400 Subject: [PATCH 21/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 417af4c..4f5bf6d 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -49,6 +49,7 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" + # PORTER_BUILDKIT_ARGS: # PORTER_BUILDKIT_COMPLETE_OVERRIDE: # --cache-from type=gha --cache-to type=gha,mode=max --push From c3671484c55070ed24ff41bc07ffb760c90fd530 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 00:06:12 -0400 Subject: [PATCH 22/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 4f5bf6d..3d323c6 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -34,7 +34,7 @@ jobs: timeout-minutes: 30 run: | docker buildx create --use - docker buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --platform=linux/amd64 + docker buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --platform=linux/amd64 --push # porter apply env: PORTER_CLUSTER: "11" From c71e3b9edf6dcc4add332998d7da183ea9f79e1c Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 00:09:00 -0400 Subject: [PATCH 23/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 3d323c6..19a9148 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -33,7 +33,7 @@ jobs: - name: Deploy stack timeout-minutes: 30 run: | - docker buildx create --use + # docker buildx create --use docker buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --platform=linux/amd64 --push # porter apply env: From 4ea2697f1259b0c7a722d59052e57f419bb3ef7b Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 00:10:44 -0400 Subject: [PATCH 24/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 19a9148..a2e5f46 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -34,8 +34,7 @@ jobs: timeout-minutes: 30 run: | # docker buildx create --use - docker buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --platform=linux/amd64 --push - # porter apply + porter apply env: PORTER_CLUSTER: "11" PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 @@ -51,5 +50,5 @@ jobs: BUILDKIT_INLINE_CACHE: "1" # PORTER_BUILDKIT_ARGS: - # PORTER_BUILDKIT_COMPLETE_OVERRIDE: + PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --platform=linux/amd64 --push # --cache-from type=gha --cache-to type=gha,mode=max --push From 1951ab0aef4b81221fe3109f9c6bd8e729c0257c Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 00:14:54 -0400 Subject: [PATCH 25/82] Update porter_stack_stefan-testcachemultistep.yml --- .../workflows/porter_stack_stefan-testcachemultistep.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index a2e5f46..f132cc4 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -48,7 +48,7 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" - - # PORTER_BUILDKIT_ARGS: - PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --platform=linux/amd64 --push + + PORTER_BUILDKIT_ARGS: --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460 + # PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --platform=linux/amd64 --push # --cache-from type=gha --cache-to type=gha,mode=max --push From 3d2e52e6814717c8af7bb19bf6963b37f1e26b12 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 00:17:13 -0400 Subject: [PATCH 26/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index f132cc4..679f90e 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -49,6 +49,6 @@ jobs: DOCKER_BUILDKIT: "1" BUILDKIT_INLINE_CACHE: "1" - PORTER_BUILDKIT_ARGS: --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460 + PORTER_BUILDKIT_ARGS: --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460 --push # PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --platform=linux/amd64 --push # --cache-from type=gha --cache-to type=gha,mode=max --push From a3c103cf73b62638983985e700bf09d9c93ad89e Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 18:58:58 -0400 Subject: [PATCH 27/82] Update porter_stack_stefan-testcachemultistep.yml --- .../workflows/porter_stack_stefan-testcachemultistep.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 679f90e..401b229 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -47,8 +47,8 @@ jobs: PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} DOCKER_BUILDKIT: "1" - BUILDKIT_INLINE_CACHE: "1" + # BUILDKIT_INLINE_CACHE: "1" - PORTER_BUILDKIT_ARGS: --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460 --push - # PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx build . -f=DockerfileStefanTest --tag=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:3449eb3a184ca759a4ce41a1b3044c85aa3870ee --cache-from=type=gha --cache-to=type=gha,mode=max --platform=linux/amd64 --push + # PORTER_BUILDKIT_ARGS: --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460 --push + PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:$PORTER_TAG --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:$PORTER_TAG --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . # --cache-from type=gha --cache-to type=gha,mode=max --push From d1af7d1e260915df1e19f48ebd6a7179ababe8de Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 18:59:51 -0400 Subject: [PATCH 28/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 401b229..5129e3e 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -33,7 +33,8 @@ jobs: - name: Deploy stack timeout-minutes: 30 run: | - # docker buildx create --use + docker context ls + docker buildx create --use porter apply env: PORTER_CLUSTER: "11" From 74034103340f2468880271471cc7549837a13715 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:02:19 -0400 Subject: [PATCH 29/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 5129e3e..864212b 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -17,8 +17,6 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - with: - driver-opts: image=moby/buildkit:latest # - name: Build and push # uses: docker/build-push-action@v6 From 8ad833e7f2de1b30677d75138aaa00e8b7d55817 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:02:59 -0400 Subject: [PATCH 30/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 864212b..9b448c7 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -15,8 +15,8 @@ jobs: - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + # - name: Set up Docker Buildx + # uses: docker/setup-buildx-action@v3 # - name: Build and push # uses: docker/build-push-action@v6 From 61b85b735f2667ca45ffeaaccd45a88b501ed54c Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:04:00 -0400 Subject: [PATCH 31/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 9b448c7..b86b802 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -32,7 +32,7 @@ jobs: timeout-minutes: 30 run: | docker context ls - docker buildx create --use + # docker buildx create --use porter apply env: PORTER_CLUSTER: "11" From b888f8d0d74401fa07d2b2b911c150f6bfd7f341 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:05:12 -0400 Subject: [PATCH 32/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index b86b802..1fd25cf 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -15,8 +15,8 @@ jobs: - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 - # - name: Set up Docker Buildx - # uses: docker/setup-buildx-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 # - name: Build and push # uses: docker/build-push-action@v6 From 9d37713b5f0fa9b730b0a3c53c745dd07d142f67 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:05:53 -0400 Subject: [PATCH 33/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 1fd25cf..007650a 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -17,6 +17,8 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + driver: docker-container # - name: Build and push # uses: docker/build-push-action@v6 From 9481c8fe84bf31c03c4231713ba50404ff6b92f2 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:06:53 -0400 Subject: [PATCH 34/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 007650a..da7ed02 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -34,6 +34,7 @@ jobs: timeout-minutes: 30 run: | docker context ls + docker buildx ls # docker buildx create --use porter apply env: From e0a07a8b72dfa425a65e17552402aded05691d04 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:08:25 -0400 Subject: [PATCH 35/82] Update porter_stack_stefan-testcachemultistep.yml --- .../workflows/porter_stack_stefan-testcachemultistep.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index da7ed02..1059d95 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -15,10 +15,10 @@ jobs: - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - with: - driver: docker-container + # - name: Set up Docker Buildx + # uses: docker/setup-buildx-action@v3 + # with: + # driver: docker-container # - name: Build and push # uses: docker/build-push-action@v6 @@ -33,6 +33,7 @@ jobs: - name: Deploy stack timeout-minutes: 30 run: | + docker buildx create --use --driver docker-container docker context ls docker buildx ls # docker buildx create --use From 4e8e73d3567992d812176642af55f56a638f336f Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:11:33 -0400 Subject: [PATCH 36/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 1059d95..0164af8 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -33,7 +33,7 @@ jobs: - name: Deploy stack timeout-minutes: 30 run: | - docker buildx create --use --driver docker-container + docker buildx create --use --driver docker-container --bootstrap docker context ls docker buildx ls # docker buildx create --use From 10c2fa607377ee6a052fd532cb1bab019b7c3fb2 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:18:01 -0400 Subject: [PATCH 37/82] Update porter_stack_stefan-testcachemultistep.yml --- .../workflows/porter_stack_stefan-testcachemultistep.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 0164af8..a7f00cb 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -52,6 +52,6 @@ jobs: DOCKER_BUILDKIT: "1" # BUILDKIT_INLINE_CACHE: "1" - # PORTER_BUILDKIT_ARGS: --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:f6e348d4664ed922a9dc7e0ebf822757d4b65460 --push - PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:$PORTER_TAG --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:$PORTER_TAG --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . - # --cache-from type=gha --cache-to type=gha,mode=max --push + # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:$PORTER_TAG --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:$PORTER_TAG --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . + PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:$PORTER_TAG + # From 68a6724d9132f51b9bd2c3c535edd010607cf71e Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:19:18 -0400 Subject: [PATCH 38/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index a7f00cb..a556f75 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -52,6 +52,6 @@ jobs: DOCKER_BUILDKIT: "1" # BUILDKIT_INLINE_CACHE: "1" - # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:$PORTER_TAG --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:$PORTER_TAG --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . - PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:$PORTER_TAG + # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . + PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} # From 83c1ff2c854c75ee76fecc278b721b88461b7431 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:23:09 -0400 Subject: [PATCH 39/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index a556f75..c978479 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -53,5 +53,5 @@ jobs: # BUILDKIT_INLINE_CACHE: "1" # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . - PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} + PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} # From 0e5d5b4898bb50bdc1f4b5f7bcc438539d074f17 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:26:02 -0400 Subject: [PATCH 40/82] Update porter_stack_stefan-testcachemultistep.yml --- .../workflows/porter_stack_stefan-testcachemultistep.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index c978479..276c935 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -12,6 +12,9 @@ jobs: - name: Set Github tag id: vars run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + - name: Set Github tag log + id: vars + run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 @@ -52,6 +55,6 @@ jobs: DOCKER_BUILDKIT: "1" # BUILDKIT_INLINE_CACHE: "1" - # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . - PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} + # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_long }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . + PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_long }} # From ad786f6c89ef2cad0267ac55d0b9c9d7363f1b02 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:29:29 -0400 Subject: [PATCH 41/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 276c935..ce972e9 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -49,7 +49,7 @@ jobs: PORTER_PROJECT: "8" PORTER_REPO_NAME: ${{ github.event.repository.name }} PORTER_STACK_NAME: stefan-testcachemultistep - PORTER_TAG: ${{ steps.vars.outputs.sha_short }} + PORTER_TAG: ${{ steps.vars.outputs.sha_long }} PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} DOCKER_BUILDKIT: "1" From ab706bc32a3dc3cd2c9386187ea01054c3d7006f Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:30:37 -0400 Subject: [PATCH 42/82] Update porter_stack_stefan-testcachemultistep.yml --- .../workflows/porter_stack_stefan-testcachemultistep.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index ce972e9..1837413 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -13,7 +13,7 @@ jobs: id: vars run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Set Github tag log - id: vars + id: vars2 run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 @@ -49,12 +49,12 @@ jobs: PORTER_PROJECT: "8" PORTER_REPO_NAME: ${{ github.event.repository.name }} PORTER_STACK_NAME: stefan-testcachemultistep - PORTER_TAG: ${{ steps.vars.outputs.sha_long }} + PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} DOCKER_BUILDKIT: "1" # BUILDKIT_INLINE_CACHE: "1" - # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_long }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . - PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_long }} + # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . + PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} # From d66dc1ad4e687d938b335519f15fa9247a4505ed Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:32:03 -0400 Subject: [PATCH 43/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 1837413..bf7e07a 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -57,4 +57,3 @@ jobs: # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} - # From c8cfa8573378e87d119e9333dfaa847cef98ffce Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:34:30 -0400 Subject: [PATCH 44/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index bf7e07a..eb3eef0 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -36,7 +36,7 @@ jobs: - name: Deploy stack timeout-minutes: 30 run: | - docker buildx create --use --driver docker-container --bootstrap + docker buildx create --use --driver docker-container --bootstrap --name porter-builder docker context ls docker buildx ls # docker buildx create --use @@ -56,4 +56,4 @@ jobs: # BUILDKIT_INLINE_CACHE: "1" # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . - PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} + PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx --builder porter-builder build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} From 435127852cc3c36c9cf1992f2e3a648245cef97a Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 7 Oct 2024 19:35:42 -0400 Subject: [PATCH 45/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index eb3eef0..a27c408 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -56,4 +56,4 @@ jobs: # BUILDKIT_INLINE_CACHE: "1" # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . - PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx --builder porter-builder build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} + PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx --builder porter-builder build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push From ca007187d742bcd922e3b613b9984875ba4b7fea Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Thu, 10 Oct 2024 16:49:59 -0400 Subject: [PATCH 46/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index a27c408..be61bdd 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -36,6 +36,7 @@ jobs: - name: Deploy stack timeout-minutes: 30 run: | + echo dockerconfig is: $DOCKER_CONFIG docker buildx create --use --driver docker-container --bootstrap --name porter-builder docker context ls docker buildx ls From 884b11659b5dad75d3a74301b6650dffd645fae1 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Thu, 10 Oct 2024 16:51:57 -0400 Subject: [PATCH 47/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index be61bdd..dcb6737 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -52,6 +52,7 @@ jobs: PORTER_STACK_NAME: stefan-testcachemultistep PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} + DOCKER_CONFIG: config.json DOCKER_BUILDKIT: "1" # BUILDKIT_INLINE_CACHE: "1" From 2420bfa2579319503b67980548cadada5e8255a9 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Thu, 10 Oct 2024 16:58:06 -0400 Subject: [PATCH 48/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index dcb6737..0e5a33d 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -58,4 +58,4 @@ jobs: # BUILDKIT_INLINE_CACHE: "1" # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . - PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx --builder porter-builder build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push + PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx --builder porter-builder build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} From cd38596e1e6357de90a9860b16de53d071a94741 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 11 Oct 2024 11:42:28 -0400 Subject: [PATCH 49/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 0e5a33d..0407430 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -56,6 +56,7 @@ jobs: DOCKER_BUILDKIT: "1" # BUILDKIT_INLINE_CACHE: "1" + BUILDKIT_NO_CLIENT_TOKEN: true # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx --builder porter-builder build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} From 091cb1dcbf72a4112dff095f542590ec7737ef5b Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 11 Oct 2024 11:44:51 -0400 Subject: [PATCH 50/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 0407430..1ea18b9 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -59,4 +59,4 @@ jobs: BUILDKIT_NO_CLIENT_TOKEN: true # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . - PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx --builder porter-builder build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} + PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx --builder porter-builder build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push From f0fa9cc4868c07af6430b32d468c0302857419b1 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 11 Oct 2024 11:46:50 -0400 Subject: [PATCH 51/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 1ea18b9..fd84212 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -41,6 +41,7 @@ jobs: docker context ls docker buildx ls # docker buildx create --use + cat $DOCKER_CONFIG porter apply env: PORTER_CLUSTER: "11" From 6a9769f350ccc7c4e253d1f65a8c5c138c0fb1b7 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 11 Oct 2024 11:49:27 -0400 Subject: [PATCH 52/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index fd84212..65b7e90 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -41,7 +41,8 @@ jobs: docker context ls docker buildx ls # docker buildx create --use - cat $DOCKER_CONFIG + ls $DOCKER_CONFIG + cat $DOCKER_CONFIG/config.json porter apply env: PORTER_CLUSTER: "11" @@ -53,7 +54,7 @@ jobs: PORTER_STACK_NAME: stefan-testcachemultistep PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} - DOCKER_CONFIG: config.json + DOCKER_CONFIG: dockerconfigmanual DOCKER_BUILDKIT: "1" # BUILDKIT_INLINE_CACHE: "1" From a087b4e8573c8175824de7b8e8173a0e1627c563 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 11 Oct 2024 14:45:38 -0400 Subject: [PATCH 53/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 65b7e90..cb55af0 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -55,6 +55,8 @@ jobs: PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} DOCKER_CONFIG: dockerconfigmanual + GH_TOKEN: ${{ github.token }} + DOCKER_BUILDKIT: "1" # BUILDKIT_INLINE_CACHE: "1" From 4f187bcc1452beb64b8db77449e05835c24fe720 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 14 Oct 2024 15:49:47 -0400 Subject: [PATCH 54/82] Update porter_stack_stefan-testcachemultistep.yml --- ...porter_stack_stefan-testcachemultistep.yml | 32 +++++++++++++------ 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index cb55af0..96a4324 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -17,6 +17,20 @@ jobs: run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 + - name: Test creds + shell: bash + env: + PORTER_CLUSTER: "11" + PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 + PORTER_HOST: https://dashboard.internal-tools.porter.run + PORTER_PR_NUMBER: ${{ github.event.number }} + PORTER_PROJECT: "8" + PORTER_REPO_NAME: ${{ github.event.repository.name }} + PORTER_STACK_NAME: stefan-testcachemultistep + PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} + PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} + GH_TOKEN: ${{ github.token }} + run: porter docker configure # - name: Set up Docker Buildx # uses: docker/setup-buildx-action@v3 @@ -36,13 +50,13 @@ jobs: - name: Deploy stack timeout-minutes: 30 run: | - echo dockerconfig is: $DOCKER_CONFIG - docker buildx create --use --driver docker-container --bootstrap --name porter-builder - docker context ls - docker buildx ls + #echo dockerconfig is: $DOCKER_CONFIG + #docker buildx create --use --driver docker-container --bootstrap --name porter-builder + #docker context ls + #docker buildx ls # docker buildx create --use - ls $DOCKER_CONFIG - cat $DOCKER_CONFIG/config.json + #ls $DOCKER_CONFIG + #cat $DOCKER_CONFIG/config.json porter apply env: PORTER_CLUSTER: "11" @@ -54,13 +68,13 @@ jobs: PORTER_STACK_NAME: stefan-testcachemultistep PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} - DOCKER_CONFIG: dockerconfigmanual + #DOCKER_CONFIG: dockerconfigmanual GH_TOKEN: ${{ github.token }} DOCKER_BUILDKIT: "1" # BUILDKIT_INLINE_CACHE: "1" - BUILDKIT_NO_CLIENT_TOKEN: true + # BUILDKIT_NO_CLIENT_TOKEN: true # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . - PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx --builder porter-builder build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push + # PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx --builder porter-builder build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push From 6e07b323e5b0331ced6bab28bff73600848b7c8e Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 14 Oct 2024 15:51:47 -0400 Subject: [PATCH 55/82] Update porter_stack_stefan-testcachemultistep.yml --- .../porter_stack_stefan-testcachemultistep.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 96a4324..ecfbadc 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -31,21 +31,6 @@ jobs: PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} GH_TOKEN: ${{ github.token }} run: porter docker configure - - # - name: Set up Docker Buildx - # uses: docker/setup-buildx-action@v3 - # with: - # driver: docker-container - - # - name: Build and push - # uses: docker/build-push-action@v6 - # with: - # context: . - # push: true - # tags: "813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }}" - # cache-from: type=gha - # cache-to: type=gha,mode=max - # file: DockerfileStefanTest - name: Deploy stack timeout-minutes: 30 From b5d809fb03cbaef2f1cb75905b1dd54c074138e4 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Tue, 15 Oct 2024 13:35:04 -0400 Subject: [PATCH 56/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index ecfbadc..59f02c8 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -17,6 +17,8 @@ jobs: run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 + with: + tagged_release: 1231 - name: Test creds shell: bash env: @@ -42,7 +44,7 @@ jobs: # docker buildx create --use #ls $DOCKER_CONFIG #cat $DOCKER_CONFIG/config.json - porter apply + porter apply --no-pull env: PORTER_CLUSTER: "11" PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 @@ -53,7 +55,6 @@ jobs: PORTER_STACK_NAME: stefan-testcachemultistep PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} - #DOCKER_CONFIG: dockerconfigmanual GH_TOKEN: ${{ github.token }} From 364ab45ff587571c762e769db41001b201bfa6cd Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Tue, 15 Oct 2024 13:36:51 -0400 Subject: [PATCH 57/82] Update porter_stack_stefan-testcachemultistep.yml --- ...porter_stack_stefan-testcachemultistep.yml | 77 ++++++++++--------- 1 file changed, 39 insertions(+), 38 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 59f02c8..cc9a922 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -16,49 +16,50 @@ jobs: id: vars2 run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT - name: Setup porter - uses: porter-dev/setup-porter@v0.1.0 + uses: porter-dev/setup-porter@v0.1.1 with: tagged_release: 1231 - - name: Test creds - shell: bash - env: - PORTER_CLUSTER: "11" - PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 - PORTER_HOST: https://dashboard.internal-tools.porter.run - PORTER_PR_NUMBER: ${{ github.event.number }} - PORTER_PROJECT: "8" - PORTER_REPO_NAME: ${{ github.event.repository.name }} - PORTER_STACK_NAME: stefan-testcachemultistep - PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} - PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} - GH_TOKEN: ${{ github.token }} - run: porter docker configure + + # - name: Test creds + # shell: bash + # env: + # PORTER_CLUSTER: "11" + # PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 + # PORTER_HOST: https://dashboard.internal-tools.porter.run + # PORTER_PR_NUMBER: ${{ github.event.number }} + # PORTER_PROJECT: "8" + # PORTER_REPO_NAME: ${{ github.event.repository.name }} + # PORTER_STACK_NAME: stefan-testcachemultistep + # PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} + # PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} + # GH_TOKEN: ${{ github.token }} + # run: porter docker configure - - name: Deploy stack - timeout-minutes: 30 - run: | - #echo dockerconfig is: $DOCKER_CONFIG - #docker buildx create --use --driver docker-container --bootstrap --name porter-builder - #docker context ls - #docker buildx ls - # docker buildx create --use - #ls $DOCKER_CONFIG - #cat $DOCKER_CONFIG/config.json - porter apply --no-pull - env: - PORTER_CLUSTER: "11" - PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 - PORTER_HOST: https://dashboard.internal-tools.porter.run - PORTER_PR_NUMBER: ${{ github.event.number }} - PORTER_PROJECT: "8" - PORTER_REPO_NAME: ${{ github.event.repository.name }} - PORTER_STACK_NAME: stefan-testcachemultistep - PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} - PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} - GH_TOKEN: ${{ github.token }} + # - name: Deploy stack + # timeout-minutes: 30 + # run: | + # #echo dockerconfig is: $DOCKER_CONFIG + # #docker buildx create --use --driver docker-container --bootstrap --name porter-builder + # #docker context ls + # #docker buildx ls + # # docker buildx create --use + # #ls $DOCKER_CONFIG + # #cat $DOCKER_CONFIG/config.json + # porter apply --no-pull + # env: + # PORTER_CLUSTER: "11" + # PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 + # PORTER_HOST: https://dashboard.internal-tools.porter.run + # PORTER_PR_NUMBER: ${{ github.event.number }} + # PORTER_PROJECT: "8" + # PORTER_REPO_NAME: ${{ github.event.repository.name }} + # PORTER_STACK_NAME: stefan-testcachemultistep + # PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} + # PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} + # GH_TOKEN: ${{ github.token }} - DOCKER_BUILDKIT: "1" + # DOCKER_BUILDKIT: "1" # BUILDKIT_INLINE_CACHE: "1" # BUILDKIT_NO_CLIENT_TOKEN: true From a28a72cdd61b664e7bf1fb5d70325955971cefa8 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Tue, 15 Oct 2024 17:51:58 -0400 Subject: [PATCH 58/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index cc9a922..f97d9e8 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -16,7 +16,7 @@ jobs: id: vars2 run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT - name: Setup porter - uses: porter-dev/setup-porter@v0.1.1 + uses: porter-dev/setup-porter@v0.1.0 with: tagged_release: 1231 From 6a523cdc9e288cd74ea275bdef012e3d9111d1fa Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Tue, 15 Oct 2024 17:53:55 -0400 Subject: [PATCH 59/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index f97d9e8..b16c055 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -18,7 +18,7 @@ jobs: - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 with: - tagged_release: 1231 + tagged_release: v0.56.1 # - name: Test creds # shell: bash From af7d633292a66c82535f49c0b90a68f7c171b2e2 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Tue, 15 Oct 2024 17:54:46 -0400 Subject: [PATCH 60/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index b16c055..417ccde 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -18,7 +18,7 @@ jobs: - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 with: - tagged_release: v0.56.1 + tagged_release: v0.56.3 # - name: Test creds # shell: bash From 3bad91b2917815cacf64787b232b61e71bb4915b Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Tue, 15 Oct 2024 17:55:34 -0400 Subject: [PATCH 61/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 417ccde..086eeaf 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -17,8 +17,6 @@ jobs: run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 - with: - tagged_release: v0.56.3 # - name: Test creds # shell: bash From 25b1ddd086f41b60698365cc456530c405bc2961 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Wed, 23 Oct 2024 14:04:22 -0400 Subject: [PATCH 62/82] Update porter_stack_stefan-testcachemultistep.yml --- ...porter_stack_stefan-testcachemultistep.yml | 62 +++++-------------- 1 file changed, 17 insertions(+), 45 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 086eeaf..ac233cf 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -17,49 +17,21 @@ jobs: run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 - - # - name: Test creds - # shell: bash - # env: - # PORTER_CLUSTER: "11" - # PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 - # PORTER_HOST: https://dashboard.internal-tools.porter.run - # PORTER_PR_NUMBER: ${{ github.event.number }} - # PORTER_PROJECT: "8" - # PORTER_REPO_NAME: ${{ github.event.repository.name }} - # PORTER_STACK_NAME: stefan-testcachemultistep - # PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} - # PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} - # GH_TOKEN: ${{ github.token }} - # run: porter docker configure + with: + tagged_release: 0.56.3 - # - name: Deploy stack - # timeout-minutes: 30 - # run: | - # #echo dockerconfig is: $DOCKER_CONFIG - # #docker buildx create --use --driver docker-container --bootstrap --name porter-builder - # #docker context ls - # #docker buildx ls - # # docker buildx create --use - # #ls $DOCKER_CONFIG - # #cat $DOCKER_CONFIG/config.json - # porter apply --no-pull - # env: - # PORTER_CLUSTER: "11" - # PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 - # PORTER_HOST: https://dashboard.internal-tools.porter.run - # PORTER_PR_NUMBER: ${{ github.event.number }} - # PORTER_PROJECT: "8" - # PORTER_REPO_NAME: ${{ github.event.repository.name }} - # PORTER_STACK_NAME: stefan-testcachemultistep - # PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} - # PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} - # GH_TOKEN: ${{ github.token }} - - - # DOCKER_BUILDKIT: "1" - # BUILDKIT_INLINE_CACHE: "1" - # BUILDKIT_NO_CLIENT_TOKEN: true - - # PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . - # PORTER_BUILDKIT_COMPLETE_OVERRIDE: buildx --builder porter-builder build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.outputs.sha_long }} --push + - name: Deploy stack + timeout-minutes: 30 + run: | + porter apply --no-pull + env: + PORTER_CLUSTER: "11" + PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 + PORTER_HOST: https://dashboard.internal-tools.porter.run + PORTER_PR_NUMBER: ${{ github.event.number }} + PORTER_PROJECT: "8" + PORTER_REPO_NAME: ${{ github.event.repository.name }} + PORTER_STACK_NAME: stefan-testcachemultistep + PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} + PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} + GH_TOKEN: ${{ github.token }} From 8eda0cb665b911cdd979f678413b27eea6fcb5e7 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Wed, 23 Oct 2024 14:05:01 -0400 Subject: [PATCH 63/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index ac233cf..81777ca 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -18,7 +18,7 @@ jobs: - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 with: - tagged_release: 0.56.3 + tagged_release: v0.56.3 - name: Deploy stack timeout-minutes: 30 From bbe805ef550a7c7f8a644606f6fafacda6fba155 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Wed, 23 Oct 2024 14:10:39 -0400 Subject: [PATCH 64/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index 81777ca..bc7b844 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -18,12 +18,12 @@ jobs: - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 with: - tagged_release: v0.56.3 + tagged_release: v0.56.4 - name: Deploy stack timeout-minutes: 30 run: | - porter apply --no-pull + porter apply env: PORTER_CLUSTER: "11" PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352 From fb2be25af4bb300a3923eec030eafeb40be0abf2 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Wed, 23 Oct 2024 14:15:21 -0400 Subject: [PATCH 65/82] Update porter_stack_stefan-testcachemultistep.yml --- .github/workflows/porter_stack_stefan-testcachemultistep.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index bc7b844..756684a 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -35,3 +35,4 @@ jobs: PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} GH_TOKEN: ${{ github.token }} + DOCKER_BUILDKIT: 1 From e85e9db7a261540ddf214f9e115190d624322618 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Wed, 23 Oct 2024 14:17:23 -0400 Subject: [PATCH 66/82] Update porter_stack_stefan-testcachemultistep.yml From cee30283b5ae32a71230bd2cc2ab41bdb520a2f4 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Wed, 23 Oct 2024 14:19:46 -0400 Subject: [PATCH 67/82] Update porter_stack_stefan-testcachemultistep.yml From 6fa5d3a1a2747a861cbc395dd761c23f92b8763d Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 25 Oct 2024 18:53:19 -0400 Subject: [PATCH 68/82] Update and rename porter_stack_stefan-testcachemultistep.yml to porter_stack_stefantest-graviton.yml --- ...tcachemultistep.yml => porter_stack_stefantest-graviton.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{porter_stack_stefan-testcachemultistep.yml => porter_stack_stefantest-graviton.yml} (95%) diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefantest-graviton.yml similarity index 95% rename from .github/workflows/porter_stack_stefan-testcachemultistep.yml rename to .github/workflows/porter_stack_stefantest-graviton.yml index 756684a..7f73478 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefantest-graviton.yml @@ -31,7 +31,7 @@ jobs: PORTER_PR_NUMBER: ${{ github.event.number }} PORTER_PROJECT: "8" PORTER_REPO_NAME: ${{ github.event.repository.name }} - PORTER_STACK_NAME: stefan-testcachemultistep + PORTER_APP_NAME: stefantest-graviton PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} GH_TOKEN: ${{ github.token }} From d82d89e810a19d552bc27915e8f1d0cc555f9780 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 25 Oct 2024 18:55:45 -0400 Subject: [PATCH 69/82] Update porter_stack_stefantest-graviton.yml --- .github/workflows/porter_stack_stefantest-graviton.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefantest-graviton.yml b/.github/workflows/porter_stack_stefantest-graviton.yml index 7f73478..a03cb67 100644 --- a/.github/workflows/porter_stack_stefantest-graviton.yml +++ b/.github/workflows/porter_stack_stefantest-graviton.yml @@ -36,3 +36,4 @@ jobs: PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} GH_TOKEN: ${{ github.token }} DOCKER_BUILDKIT: 1 + PORTER_BUILDKIT_ARGS: --platform linux/arm64 From 0d3c359f67bf1868293a4793005e2582b671a2ea Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 25 Oct 2024 19:01:28 -0400 Subject: [PATCH 70/82] Update porter_stack_stefantest-graviton.yml --- .github/workflows/porter_stack_stefantest-graviton.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefantest-graviton.yml b/.github/workflows/porter_stack_stefantest-graviton.yml index a03cb67..a613f7d 100644 --- a/.github/workflows/porter_stack_stefantest-graviton.yml +++ b/.github/workflows/porter_stack_stefantest-graviton.yml @@ -37,3 +37,4 @@ jobs: GH_TOKEN: ${{ github.token }} DOCKER_BUILDKIT: 1 PORTER_BUILDKIT_ARGS: --platform linux/arm64 + PORTER_BUILDKIT_PUSH_ARGS: --platform linux/arm64 From e5b6ca3ec108b4063592a7965597d40e534521c7 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 25 Oct 2024 19:08:31 -0400 Subject: [PATCH 71/82] Update porter_stack_stefantest-graviton.yml --- .github/workflows/porter_stack_stefantest-graviton.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/porter_stack_stefantest-graviton.yml b/.github/workflows/porter_stack_stefantest-graviton.yml index a613f7d..1eb902b 100644 --- a/.github/workflows/porter_stack_stefantest-graviton.yml +++ b/.github/workflows/porter_stack_stefantest-graviton.yml @@ -23,6 +23,8 @@ jobs: - name: Deploy stack timeout-minutes: 30 run: | + porter version + echo "stefan" $OSTYPE; arch; uname -a porter apply env: PORTER_CLUSTER: "11" From 075f80e960cb00c17fe2232755f41b45bd22c1b5 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 25 Oct 2024 19:10:12 -0400 Subject: [PATCH 72/82] Update porter_stack_stefantest-graviton.yml --- .github/workflows/porter_stack_stefantest-graviton.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefantest-graviton.yml b/.github/workflows/porter_stack_stefantest-graviton.yml index 1eb902b..2b6b9f0 100644 --- a/.github/workflows/porter_stack_stefantest-graviton.yml +++ b/.github/workflows/porter_stack_stefantest-graviton.yml @@ -17,8 +17,6 @@ jobs: run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 - with: - tagged_release: v0.56.4 - name: Deploy stack timeout-minutes: 30 From 6ceab943e285e7b4e2b5b4dabeb6d2ead330f3bc Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 25 Oct 2024 19:21:47 -0400 Subject: [PATCH 73/82] Update porter_stack_stefantest-graviton.yml --- .github/workflows/porter_stack_stefantest-graviton.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefantest-graviton.yml b/.github/workflows/porter_stack_stefantest-graviton.yml index 2b6b9f0..c4aa483 100644 --- a/.github/workflows/porter_stack_stefantest-graviton.yml +++ b/.github/workflows/porter_stack_stefantest-graviton.yml @@ -5,7 +5,7 @@ name: Deploy to stefan-testcachemultistep jobs: porter-deploy: - runs-on: ubuntu-latest + runs-on: linux-arm64 steps: - name: Checkout code uses: actions/checkout@v4 From 31c760c3cba05be6df5eb806d5226ac755415055 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 25 Oct 2024 19:28:06 -0400 Subject: [PATCH 74/82] Update porter_stack_stefantest-graviton.yml From 84af1d64f43ae340e4446c7a3b57fa3ffc861c9c Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 25 Oct 2024 19:33:35 -0400 Subject: [PATCH 75/82] Update porter_stack_stefantest-graviton.yml --- .github/workflows/porter_stack_stefantest-graviton.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefantest-graviton.yml b/.github/workflows/porter_stack_stefantest-graviton.yml index c4aa483..4591f15 100644 --- a/.github/workflows/porter_stack_stefantest-graviton.yml +++ b/.github/workflows/porter_stack_stefantest-graviton.yml @@ -5,7 +5,7 @@ name: Deploy to stefan-testcachemultistep jobs: porter-deploy: - runs-on: linux-arm64 + runs-on: ubicloud-standard-2-arm steps: - name: Checkout code uses: actions/checkout@v4 From a2b5df18c8ae007fb29d2253cc6cf6ec71ec999f Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 25 Oct 2024 19:41:26 -0400 Subject: [PATCH 76/82] Update porter_stack_stefantest-graviton.yml --- .github/workflows/porter_stack_stefantest-graviton.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefantest-graviton.yml b/.github/workflows/porter_stack_stefantest-graviton.yml index 4591f15..e8c7279 100644 --- a/.github/workflows/porter_stack_stefantest-graviton.yml +++ b/.github/workflows/porter_stack_stefantest-graviton.yml @@ -38,3 +38,4 @@ jobs: DOCKER_BUILDKIT: 1 PORTER_BUILDKIT_ARGS: --platform linux/arm64 PORTER_BUILDKIT_PUSH_ARGS: --platform linux/arm64 + From cf3e73f6361dafe283bcf060f7039d8f21e9ba53 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Fri, 25 Oct 2024 19:48:24 -0400 Subject: [PATCH 77/82] Update porter_stack_stefantest-graviton.yml --- .github/workflows/porter_stack_stefantest-graviton.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/porter_stack_stefantest-graviton.yml b/.github/workflows/porter_stack_stefantest-graviton.yml index e8c7279..0275606 100644 --- a/.github/workflows/porter_stack_stefantest-graviton.yml +++ b/.github/workflows/porter_stack_stefantest-graviton.yml @@ -36,6 +36,4 @@ jobs: PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} GH_TOKEN: ${{ github.token }} DOCKER_BUILDKIT: 1 - PORTER_BUILDKIT_ARGS: --platform linux/arm64 - PORTER_BUILDKIT_PUSH_ARGS: --platform linux/arm64 From 3c56d9c527aa1afcb4d643dc61294ddba28b051a Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 28 Oct 2024 13:47:03 -0400 Subject: [PATCH 78/82] Update DockerfileStefanTest --- DockerfileStefanTest | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DockerfileStefanTest b/DockerfileStefanTest index bbda792..8d06c11 100644 --- a/DockerfileStefanTest +++ b/DockerfileStefanTest @@ -3,6 +3,8 @@ WORKDIR /porter RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates RUN go install github.com/go-delve/delve/cmd/dlv@latest RUN chmod +x /go/bin/dlv +ARG STEFAN_ENV=dockerdefault +RUN echo $STEFAN_ENV FROM debian:bullseye-slim as runner From ac24e787541a0f903396541cc6abbd5102bdccbe Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 28 Oct 2024 13:49:31 -0400 Subject: [PATCH 79/82] Update DockerfileStefanTest --- DockerfileStefanTest | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/DockerfileStefanTest b/DockerfileStefanTest index 8d06c11..e466ae8 100644 --- a/DockerfileStefanTest +++ b/DockerfileStefanTest @@ -1,10 +1,12 @@ FROM golang:1.20.1 as installer WORKDIR /porter +ARG STEFAN_ENV=dockerdefault +RUN echo $STEFAN_ENV + RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates RUN go install github.com/go-delve/delve/cmd/dlv@latest RUN chmod +x /go/bin/dlv -ARG STEFAN_ENV=dockerdefault -RUN echo $STEFAN_ENV + FROM debian:bullseye-slim as runner From 2fca1fdb598ae6a9afa6d2827ae1b666417babce Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 28 Oct 2024 13:49:43 -0400 Subject: [PATCH 80/82] Update porter_stack_stefantest-graviton.yml --- .github/workflows/porter_stack_stefantest-graviton.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/porter_stack_stefantest-graviton.yml b/.github/workflows/porter_stack_stefantest-graviton.yml index 0275606..cefb3a2 100644 --- a/.github/workflows/porter_stack_stefantest-graviton.yml +++ b/.github/workflows/porter_stack_stefantest-graviton.yml @@ -5,7 +5,7 @@ name: Deploy to stefan-testcachemultistep jobs: porter-deploy: - runs-on: ubicloud-standard-2-arm + runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 From 4bf241ce21300b59e3936b8c184401b7ef278152 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 28 Oct 2024 15:02:22 -0400 Subject: [PATCH 81/82] Update DockerfileStefanTest --- DockerfileStefanTest | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/DockerfileStefanTest b/DockerfileStefanTest index e466ae8..c19170a 100644 --- a/DockerfileStefanTest +++ b/DockerfileStefanTest @@ -1,7 +1,12 @@ FROM golang:1.20.1 as installer WORKDIR /porter ARG STEFAN_ENV=dockerdefault -RUN echo $STEFAN_ENV +ENV SECOND_VAR ${STEFAN_ENV} +ENV THIRD_VAR $STEFAN_ENV + +RUN echo "envs2" $STEFAN_ENV $SECOND_VAR +RUN echo "envs3" $STEFAN_ENV $THIRD_VAR + RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates RUN go install github.com/go-delve/delve/cmd/dlv@latest From 9a3084b1686226adb2695dcd57311a0202f478e6 Mon Sep 17 00:00:00 2001 From: Stefan McShane Date: Mon, 28 Oct 2024 15:04:09 -0400 Subject: [PATCH 82/82] Update porter_stack_stefantest-graviton.yml --- .github/workflows/porter_stack_stefantest-graviton.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/porter_stack_stefantest-graviton.yml b/.github/workflows/porter_stack_stefantest-graviton.yml index cefb3a2..bf626b8 100644 --- a/.github/workflows/porter_stack_stefantest-graviton.yml +++ b/.github/workflows/porter_stack_stefantest-graviton.yml @@ -36,4 +36,5 @@ jobs: PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} GH_TOKEN: ${{ github.token }} DOCKER_BUILDKIT: 1 + STEFAN_ENV: fromGHA