From 03de9a671213c78e16403ce7eac48dcfa2935794 Mon Sep 17 00:00:00 2001 From: Cory Hall <43035978+corymhall@users.noreply.github.com> Date: Thu, 31 Oct 2024 14:52:46 -0400 Subject: [PATCH] Remove slack notification from workflows (#4693) Slack notifications have been removed from ci-mgmt, but we still had some specified in `.ci-mgmt.yaml`. It looks like the Slack Secret was recently removed causing these jobs to fail closes #4691 --- .ci-mgmt.yaml | 14 -------------- .github/workflows/master.yml | 14 -------------- .github/workflows/prerelease.yml | 14 -------------- .github/workflows/release.yml | 14 -------------- .github/workflows/run-acceptance-tests.yml | 14 -------------- 5 files changed, 70 deletions(-) diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index e44c530e84e..8ede5c4773e 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -190,13 +190,6 @@ extraTests: role-to-assume: ${{ secrets.OIDC_ROLE_ARN }} - name: Run selected tests with configure-aws-credentials web identity/OIDC auth run: cd examples && go test -v -json -count=1 -run TestAccCloudWatch -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in running ${{ matrix.language }} tests - fields: repo,commit,author,action - status: ${{ job.status }} strategy: fail-fast: false matrix: @@ -275,13 +268,6 @@ extraTests: - name: Run provider tests run: | cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in running ${{ matrix.language }} provider tests - fields: repo,commit,author,action - status: ${{ job.status }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 11a60b0a54b..d0af3cd6e5f 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -297,13 +297,6 @@ jobs: - name: Run provider tests run: | cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in running ${{ matrix.language }} provider tests - fields: repo,commit,author,action - status: ${{ job.status }} strategy: fail-fast: false matrix: @@ -378,13 +371,6 @@ jobs: unset-current-credentials: true - name: Run selected tests with configure-aws-credentials web identity/OIDC auth run: cd examples && go test -v -json -count=1 -run TestAccCloudWatch -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in running ${{ matrix.language }} tests - fields: repo,commit,author,action - status: ${{ job.status }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index a220efa5683..0697c63583a 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -239,13 +239,6 @@ jobs: - name: Run provider tests run: | cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in running ${{ matrix.language }} provider tests - fields: repo,commit,author,action - status: ${{ job.status }} strategy: fail-fast: false matrix: @@ -320,13 +313,6 @@ jobs: unset-current-credentials: true - name: Run selected tests with configure-aws-credentials web identity/OIDC auth run: cd examples && go test -v -json -count=1 -run TestAccCloudWatch -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in running ${{ matrix.language }} tests - fields: repo,commit,author,action - status: ${{ job.status }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b04f5ecdf5d..e361553dabc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -245,13 +245,6 @@ jobs: - name: Run provider tests run: | cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in running ${{ matrix.language }} provider tests - fields: repo,commit,author,action - status: ${{ job.status }} strategy: fail-fast: false matrix: @@ -326,13 +319,6 @@ jobs: unset-current-credentials: true - name: Run selected tests with configure-aws-credentials web identity/OIDC auth run: cd examples && go test -v -json -count=1 -run TestAccCloudWatch -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in running ${{ matrix.language }} tests - fields: repo,commit,author,action - status: ${{ job.status }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 0512abdf77c..247e14fed01 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -300,13 +300,6 @@ jobs: - name: Run provider tests run: | cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in running ${{ matrix.language }} provider tests - fields: repo,commit,author,action - status: ${{ job.status }} strategy: fail-fast: false matrix: @@ -381,13 +374,6 @@ jobs: unset-current-credentials: true - name: Run selected tests with configure-aws-credentials web identity/OIDC auth run: cd examples && go test -v -json -count=1 -run TestAccCloudWatch -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in running ${{ matrix.language }} tests - fields: repo,commit,author,action - status: ${{ job.status }} strategy: fail-fast: false matrix: