Skip to content

Commit

Permalink
Use a different Slack webhook for CI/CD specific announcements (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisdaly authored May 6, 2020
1 parent 29a219a commit 378d7b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}"\`'

##
Expand Down

0 comments on commit 378d7b4

Please sign in to comment.