From 378d7b40b3db5c22fd653b5b600ed20e8280a50f Mon Sep 17 00:00:00 2001 From: Lewis Daly Date: Wed, 6 May 2020 14:14:14 +0800 Subject: [PATCH] Use a different Slack webhook for CI/CD specific announcements (#187) --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c5c1bce..73ceddb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -265,7 +265,7 @@ jobs: command: /tmp/ci-config/container-scanning/anchore-result-diff.js anchore-reports/node_12.16.1-alpine-policy.json anchore-reports/${CIRCLE_PROJECT_REPONAME}*-policy.json - slack/status: fail_only: true - webhook: "$SLACK_WEBHOOK_ANNOUNCEMENT" + webhook: "$SLACK_WEBHOOK_ANNOUNCMENT_CI_CD" failure_message: 'Anchore Image Scan failed for: \`"${DOCKER_ORG}/${CIRCLE_PROJECT_REPONAME}:${CIRCLE_TAG}"\`' - store_artifacts: path: anchore-reports @@ -307,7 +307,7 @@ jobs: --set .central.centraleventprocessor.image.tag=$CIRCLE_TAG - slack/status: fail_only: true - webhook: "$SLACK_WEBHOOK_ANNOUNCEMENT" + webhook: "$SLACK_WEBHOOK_ANNOUNCMENT_CI_CD" failure_message: 'Deployment failed for: \`"${DOCKER_ORG}/${CIRCLE_PROJECT_REPONAME}:${CIRCLE_TAG}"\`' ##