|
|
@@ -86,3 +86,17 @@ jobs:
|
|
|
run: |
|
|
|
docker tag ghcr.io/porter-dev/porter/porter-cli:dev ghcr.io/porter-dev/porter/porter-cli:dev
|
|
|
docker push ghcr.io/porter-dev/porter/porter-cli:dev
|
|
|
+ run-integration-tests:
|
|
|
+ name: run integration tests to test new build
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ needs: build-push-docker-cli
|
|
|
+ steps:
|
|
|
+ - name: Porter app run
|
|
|
+ uses: porter-dev/porter-cli-action@v0.1.0
|
|
|
+ with:
|
|
|
+ command: app run app-integration-tests -- /app/trigger
|
|
|
+ env:
|
|
|
+ PORTER_CLUSTER: "142"
|
|
|
+ PORTER_HOST: https://dashboard.internal-tools.porter.run
|
|
|
+ PORTER_PROJECT: "301"
|
|
|
+ PORTER_TOKEN: ${{ secrets.APP_INTEGRATION_PROJECT_TOKEN }}
|