From 6d4cd286cc82552115ab3c71c5ffb7835b098d73 Mon Sep 17 00:00:00 2001 From: Amanuel Engeda <74629455+engedaam@users.noreply.github.com> Date: Wed, 25 Oct 2023 13:59:49 -0700 Subject: [PATCH] fix: Stop firing conformance testing Notifications (#4927) --- .github/workflows/e2e-matrix.yaml | 1 + .github/workflows/e2e-upgrade.yaml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-matrix.yaml b/.github/workflows/e2e-matrix.yaml index c9e2948f1d5a..398ec6791032 100644 --- a/.github/workflows/e2e-matrix.yaml +++ b/.github/workflows/e2e-matrix.yaml @@ -87,5 +87,6 @@ jobs: region: ${{ inputs.region }} k8s_version: ${{ inputs.k8s_version }} eksctl_version: ${{ inputs.eksctl_version }} + workflow_trigger: ${{ inputs.workflow_trigger }} secrets: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/.github/workflows/e2e-upgrade.yaml b/.github/workflows/e2e-upgrade.yaml index f023e9799a7b..fe74965f6590 100644 --- a/.github/workflows/e2e-upgrade.yaml +++ b/.github/workflows/e2e-upgrade.yaml @@ -42,6 +42,8 @@ on: eksctl_version: type: string default: v0.160.0-rc.0 + workflow_trigger: + type: string secrets: SLACK_WEBHOOK_URL: required: true @@ -154,7 +156,7 @@ jobs: CLUSTER_NAME=${{ steps.generate-cluster-name.outputs.CLUSTER_NAME }} INTERRUPTION_QUEUE=${{ steps.generate-cluster-name.outputs.CLUSTER_NAME }} CLUSTER_ENDPOINT="$(aws eks describe-cluster --name ${{ steps.generate-cluster-name.outputs.CLUSTER_NAME }} --query "cluster.endpoint" --output text)" TEST_SUITE="Beta/Integration" make e2etests - name: notify slack of success or failure uses: ./.github/actions/e2e/slack/notify - if: (success() || failure()) && github.event_name != 'workflow_run' && github.event_name != 'conformance' + if: (success() || failure()) && github.event_name != 'workflow_run' && inputs.workflow_trigger != 'conformance' with: url: ${{ secrets.SLACK_WEBHOOK_URL }} suite: Upgrade