-
Notifications
You must be signed in to change notification settings - Fork 239
54 lines (54 loc) · 1.72 KB
/
canary.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
"on":
push:
branches:
- dgtown/canary
name: Run integration tests
jobs:
js-test-app-buildpack:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Buildpack test
uses: ./.github/actions/tests
with:
host: https://dashboard.internal-tools.porter.run
project: "301"
cluster: "142"
token: ${{ secrets.APP_INTEGRATION_PROJECT_TOKEN }}
repository: porter-dev/js-test-app
ref: refs/heads/master
yaml_file: ./integration_tests/buildpack.yaml
js-test-app-dockerfile:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
repository: porter-dev/js-test-app
ref: refs/heads/master
- name: Setup porter
uses: porter-dev/[email protected]
- name: Dockerfile test
timeout-minutes: 30
run: exec porter apply -f ./integration_tests/dockerfile.yaml --wait
env:
PORTER_CLUSTER: "142"
PORTER_HOST: https://dashboard.internal-tools.porter.run
PORTER_PROJECT: "301"
PORTER_TOKEN: ${{ secrets.APP_INTEGRATION_PROJECT_TOKEN }}
nginx-latest:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup porter
uses: porter-dev/[email protected]
- name: Dockerfile test
timeout-minutes: 30
run: exec porter apply -f ./integration_tests/nginx.yaml --wait
env:
PORTER_CLUSTER: "142"
PORTER_HOST: https://dashboard.internal-tools.porter.run
PORTER_PROJECT: "301"
PORTER_TOKEN: ${{ secrets.APP_INTEGRATION_PROJECT_TOKEN }}