Skip to content

Commit

Permalink
Update porter_stack_stefan-testcachemultistep.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanmcshane authored Oct 15, 2024
1 parent b5d809f commit 364ab45
Showing 1 changed file with 39 additions and 38 deletions.
77 changes: 39 additions & 38 deletions .github/workflows/porter_stack_stefan-testcachemultistep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,49 +16,50 @@ jobs:
id: vars2
run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT
- name: Setup porter
uses: porter-dev/[email protected].0
uses: porter-dev/[email protected].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

Expand Down

0 comments on commit 364ab45

Please sign in to comment.