From 601e444214b0beb9c0e6d957bfd2c01f4c5ad73e Mon Sep 17 00:00:00 2001 From: Marcin Date: Thu, 17 Aug 2023 12:36:15 +0200 Subject: [PATCH] Fix new worfklow syntax - attempt #3 --- .github/workflows/nightly-logic-e2e-tests.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly-logic-e2e-tests.yml b/.github/workflows/nightly-logic-e2e-tests.yml index 8c0bf2dd6d..83b8f412a1 100644 --- a/.github/workflows/nightly-logic-e2e-tests.yml +++ b/.github/workflows/nightly-logic-e2e-tests.yml @@ -45,7 +45,6 @@ jobs: image_not_exist=$(docker manifest inspect $ecr_image &> /dev/null ; echo $?) if [[ $image_not_exist -eq 1 ]]; then echo "image-exists=false" >> $GITHUB_OUTPUT - exit 1 fi echo "image-exists=true" >> $GITHUB_OUTPUT @@ -146,3 +145,19 @@ jobs: repo-featurenets-name: ${{ secrets.REPO_OPS_FEATURENETS_NAME }} argo-host: ${{ secrets.ARGOCD_DEVNET_HOST }} featurenet-keys-s3bucket-name: ${{ secrets.FEATURENET_KEYS_S3BUCKET_NAME }} + + slack-notification: + name: Slack notification + runs-on: ubuntu-20.04 + needs: [runs-e2e-test-on-fe] + if: ${{ !cancelled() }} + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Send Slack message + uses: ./.github/actions/slack-notification + with: + notify-on: "always" + env: + SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_NIGHTLY_PIPELINE }}