d-g-town 2 лет назад
Родитель
Сommit
d7e4329c8b

+ 1 - 1
.github/actions/porter-deploy/action.yml

@@ -39,7 +39,7 @@ runs:
     - name: Deploy stack
       uses: porter-dev/porter-cli-action@v0.1.0
       with:
-        command: apply
+        command: apply --wait
       env:
         PORTER_CLUSTER: "${{ inputs.cluster }}"
         PORTER_HOST: "${{ inputs.host }}"

+ 2 - 1
.github/workflows/app_tests_base.yml

@@ -27,6 +27,7 @@ jobs:
   integration-tests:
     name: Run app tests
     runs-on: ubuntu-latest
+    timeout-minutes: 7
     strategy:
       matrix:
         yaml: ['js-test-app-buildpack', 'js-test-app-dockerfile', 'nginx', 'next-test-app-dockerfile']
@@ -56,4 +57,4 @@ jobs:
         env:
           RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
         run: |
-          curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"<!subteam^S05LXJ5DU9L> \`${{ env.repo }}\` integration tests failed in \`${{ inputs.STAGE }}\`: $RUN_URL \"}" ${{ secrets.slack_webhook_url }}
+          curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"<!subteam^S05MGRLKF33> \`${{ env.repo }}\` integration tests failed in \`${{ inputs.STAGE }}\`: $RUN_URL \"}" ${{ secrets.slack_webhook_url }}

+ 1 - 1
.github/workflows/porter_stack_porter-sandbox.yml

@@ -43,7 +43,7 @@ jobs:
       uses: porter-dev/setup-porter@v0.1.0
     - name: Deploy stack
       timeout-minutes: 30
-      run: exec porter apply -f ./porter.yaml
+      run: exec porter apply -f ./porter.yaml --wait
       env:
         PORTER_CLUSTER: "11"
         PORTER_HOST: https://dashboard.internal-tools.porter.run