From 25468c231ad3c78bb0357daba39a7f9d7a0b130b Mon Sep 17 00:00:00 2001 From: Tamir David Date: Sun, 20 Oct 2024 11:44:19 +0300 Subject: [PATCH] avoid deleting cluster to observ issues --- .github/workflows/cross-cloud-tests.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cross-cloud-tests.yaml b/.github/workflows/cross-cloud-tests.yaml index 45e2d652b..6fd89f5ea 100644 --- a/.github/workflows/cross-cloud-tests.yaml +++ b/.github/workflows/cross-cloud-tests.yaml @@ -199,10 +199,10 @@ jobs: chainsaw test tests/e2e/${{ matrix.test-scenario }} - - name: Destroy Resources - if: always() # Ensures this runs even if earlier steps fail - run: | - tofu -chdir=$TF_DIR destroy -auto-approve + # - name: Destroy Resources + # if: always() # Ensures this runs even if earlier steps fail + # run: | + # tofu -chdir=$TF_DIR destroy -auto-approve # Notify Slack on Failure or Cancellation @@ -214,7 +214,7 @@ jobs: GITHUB_RUN_ID: ${{ github.run_id }} run: | curl -X POST -H 'Content-type: application/json' \ - --data '{"link":"https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}", "description":"ERROR: Providers tests fail", "tag":"${{ env.TAG }}"}' \ + --data '{"link":"https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}", "description":"ERROR: Providers tests fail","test": "${{ matrix.cloud-provider }} - ${{ matrix.test-scenario }}", "tag":"${{ env.TAG }}"}' \ ${{ env.SLACK_WEBHOOK_URL }} # Notify Slack on Success @@ -226,5 +226,5 @@ jobs: GITHUB_RUN_ID: ${{ github.run_id }} run: | curl -X POST -H 'Content-type: application/json' \ - --data '{"link":"https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}", "description":"SUCCESS: Providers tests succeed", "test": "${{ matrix.cloud-provider }} - ${{ matrix.test-scenario }} " "tag":"${{ env.TAG }}"}' \ + --data '{"link":"https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}", "description":"SUCCESS: Providers tests succeed", "test": "${{ matrix.cloud-provider }} - ${{ matrix.test-scenario }}", "tag":"${{ env.TAG }}"}' \ ${{ env.SLACK_WEBHOOK_URL }} \ No newline at end of file