Skip to content

Commit 25b1ddd

Browse files
Update porter_stack_stefan-testcachemultistep.yml
1 parent 3bad91b commit 25b1ddd

File tree

1 file changed

+17
-45
lines changed

1 file changed

+17
-45
lines changed

.github/workflows/porter_stack_stefan-testcachemultistep.yml

+17-45
Original file line numberDiff line numberDiff line change
@@ -17,49 +17,21 @@ jobs:
1717
run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT
1818
- name: Setup porter
1919
uses: porter-dev/[email protected]
20-
21-
# - name: Test creds
22-
# shell: bash
23-
# env:
24-
# PORTER_CLUSTER: "11"
25-
# PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352
26-
# PORTER_HOST: https://dashboard.internal-tools.porter.run
27-
# PORTER_PR_NUMBER: ${{ github.event.number }}
28-
# PORTER_PROJECT: "8"
29-
# PORTER_REPO_NAME: ${{ github.event.repository.name }}
30-
# PORTER_STACK_NAME: stefan-testcachemultistep
31-
# PORTER_TAG: ${{ steps.vars2.outputs.sha_long }}
32-
# PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }}
33-
# GH_TOKEN: ${{ github.token }}
34-
# run: porter docker configure
20+
with:
21+
tagged_release: 0.56.3
3522

36-
# - name: Deploy stack
37-
# timeout-minutes: 30
38-
# run: |
39-
# #echo dockerconfig is: $DOCKER_CONFIG
40-
# #docker buildx create --use --driver docker-container --bootstrap --name porter-builder
41-
# #docker context ls
42-
# #docker buildx ls
43-
# # docker buildx create --use
44-
# #ls $DOCKER_CONFIG
45-
# #cat $DOCKER_CONFIG/config.json
46-
# porter apply --no-pull
47-
# env:
48-
# PORTER_CLUSTER: "11"
49-
# PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352
50-
# PORTER_HOST: https://dashboard.internal-tools.porter.run
51-
# PORTER_PR_NUMBER: ${{ github.event.number }}
52-
# PORTER_PROJECT: "8"
53-
# PORTER_REPO_NAME: ${{ github.event.repository.name }}
54-
# PORTER_STACK_NAME: stefan-testcachemultistep
55-
# PORTER_TAG: ${{ steps.vars2.outputs.sha_long }}
56-
# PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }}
57-
# GH_TOKEN: ${{ github.token }}
58-
59-
60-
# DOCKER_BUILDKIT: "1"
61-
# BUILDKIT_INLINE_CACHE: "1"
62-
# BUILDKIT_NO_CLIENT_TOKEN: true
63-
64-
# 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 .
65-
# 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
23+
- name: Deploy stack
24+
timeout-minutes: 30
25+
run: |
26+
porter apply --no-pull
27+
env:
28+
PORTER_CLUSTER: "11"
29+
PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352
30+
PORTER_HOST: https://dashboard.internal-tools.porter.run
31+
PORTER_PR_NUMBER: ${{ github.event.number }}
32+
PORTER_PROJECT: "8"
33+
PORTER_REPO_NAME: ${{ github.event.repository.name }}
34+
PORTER_STACK_NAME: stefan-testcachemultistep
35+
PORTER_TAG: ${{ steps.vars2.outputs.sha_long }}
36+
PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }}
37+
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)