Skip to content

Commit 9239dca

Browse files
Merge pull request #7 from porter-dev/porter-stack-test-db16aa35
Enable Porter Application test
2 parents 84391b7 + c824e03 commit 9239dca

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
"on":
2+
push:
3+
branches:
4+
- main
5+
name: Deploy to test
6+
jobs:
7+
porter-deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
- name: Set Github tag
13+
id: vars
14+
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
15+
- name: Setup porter
16+
uses: porter-dev/setup-porter@v0.1.0
17+
- name: Deploy stack
18+
timeout-minutes: 30
19+
run: exec porter apply
20+
env:
21+
PORTER_APP_NAME: test
22+
PORTER_CLUSTER: "11"
23+
PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352
24+
PORTER_HOST: https://dashboard.internal-tools.porter.run
25+
PORTER_PR_NUMBER: ${{ github.event.number }}
26+
PORTER_PROJECT: "8"
27+
PORTER_REPO_NAME: ${{ github.event.repository.name }}
28+
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
29+
PORTER_TOKEN: ${{ secrets.PORTER_APP_8_11 }}

0 commit comments

Comments
 (0)