add test apps #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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 | |
with: | |
repository: porter-dev/app-integration-tests | |
ref: refs/heads/main | |
- name: Buildpack test | |
uses: ./.github/actions | |
with: | |
host: https://dashboard.internal-tools.porter.run | |
project: "301" | |
cluster: "142" | |
token: ${{ secrets.APP_INTEGRATION_PROJECT_TOKEN }} | |
yaml_file: ./test-yamls/js-test-app-buildpack.yaml | |
js-test-app-dockerfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
repository: porter-dev/app-integration-tests | |
ref: refs/heads/main | |
- name: Dockerfile test | |
uses: ./.github/actions | |
with: | |
host: https://dashboard.internal-tools.porter.run | |
project: "301" | |
cluster: "142" | |
token: ${{ secrets.APP_INTEGRATION_PROJECT_TOKEN }} | |
yaml_file: ./test-yamls/js-test-app-dockerfile.yaml | |
nginx-latest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
repository: porter-dev/app-integration-tests | |
ref: refs/heads/main | |
- name: Docker image test | |
uses: ./.github/actions | |
with: | |
host: https://dashboard.internal-tools.porter.run | |
project: "301" | |
cluster: "142" | |
token: ${{ secrets.APP_INTEGRATION_PROJECT_TOKEN }} | |
repository: porter-dev/porter | |
ref: refs/heads/master | |
yaml_file: ./test-yamls/nginx.yaml | |
next-test-app-dockerfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
repository: porter-dev/app-integration-tests | |
ref: refs/heads/main | |
- name: Dockerfile test | |
uses: ./.github/actions | |
with: | |
host: https://dashboard.internal-tools.porter.run | |
project: "301" | |
cluster: "142" | |
token: ${{ secrets.APP_INTEGRATION_PROJECT_TOKEN }} | |
yaml_file: ./test-yamls/next-test-app-dockerfile.yaml |