Skip to content

Commit

Permalink
CircleCI: Add Slack notifications for rel/nightly failures (#2643)
Browse files Browse the repository at this point in the history
Add slack notifications for rel/nightly failures.

This will help us easily track Circle CI rel/nightly test failures on our slack channel.
  • Loading branch information
algobarb authored Aug 11, 2021
1 parent dd7f7b6 commit 4a8c41b
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version: 2.1
orbs:
win: circleci/[email protected]
go: circleci/[email protected]
slack: circleci/[email protected]

workflows:
version: 2
Expand All @@ -22,6 +23,7 @@ workflows:
filters:
branches:
only: "rel/nightly"
context: slack-secrets
- amd64_integration:
requires:
- amd64_build
Expand All @@ -34,6 +36,7 @@ workflows:
filters:
branches:
only: "rel/nightly"
context: slack-secrets
- amd64_e2e_subs:
requires:
- amd64_build
Expand All @@ -46,6 +49,7 @@ workflows:
filters:
branches:
only: "rel/nightly"
context: slack-secrets
- arm64_build
- arm64_test:
requires:
Expand All @@ -59,6 +63,7 @@ workflows:
filters:
branches:
only: "rel/nightly"
context: slack-secrets
- arm64_integration:
requires:
- arm64_build
Expand All @@ -71,6 +76,7 @@ workflows:
filters:
branches:
only: "rel/nightly"
context: slack-secrets
- arm64_e2e_subs:
requires:
- arm64_build
Expand All @@ -83,6 +89,7 @@ workflows:
filters:
branches:
only: "rel/nightly"
context: slack-secrets
- mac_amd64_build
- mac_amd64_test:
requires:
Expand All @@ -96,6 +103,7 @@ workflows:
filters:
branches:
only: "rel/nightly"
context: slack-secrets
- mac_amd64_integration:
requires:
- mac_amd64_build
Expand All @@ -108,6 +116,7 @@ workflows:
filters:
branches:
only: "rel/nightly"
context: slack-secrets
- mac_amd64_e2e_subs:
requires:
- mac_amd64_build
Expand All @@ -120,6 +129,7 @@ workflows:
filters:
branches:
only: "rel/nightly"
context: slack-secrets
#- windows_x64_build

commands:
Expand Down Expand Up @@ -367,6 +377,9 @@ jobs:
result_subdir: amd64-nightly
no_output_timeout: 45m
- upload_coverage
- slack/notify:
event: fail
template: basic_fail_1

amd64_integration:
machine:
Expand All @@ -393,6 +406,9 @@ jobs:
- generic_integration:
result_subdir: amd64-integrationnightly
no_output_timeout: 45m
- slack/notify:
event: fail
template: basic_fail_1

amd64_e2e_subs:
machine:
Expand All @@ -417,6 +433,9 @@ jobs:
- generic_integration:
result_subdir: amd64-e2e_subs_nightly
no_output_timeout: 45m
- slack/notify:
event: fail
template: basic_fail_1

arm64_build:
machine:
Expand Down Expand Up @@ -452,6 +471,9 @@ jobs:
result_subdir: arm64-nightly
no_output_timeout: 45m
- upload_coverage
- slack/notify:
event: fail
template: basic_fail_1

arm64_integration:
machine:
Expand Down Expand Up @@ -480,6 +502,9 @@ jobs:
- generic_integration:
result_subdir: arm64-integration-nightly
no_output_timeout: 45m
- slack/notify:
event: fail
template: basic_fail_1

arm64_e2e_subs:
machine:
Expand All @@ -506,6 +531,9 @@ jobs:
- generic_integration:
result_subdir: arm64-e2e_subs-nightly
no_output_timeout: 45m
- slack/notify:
event: fail
template: basic_fail_1

mac_amd64_build:
macos:
Expand Down Expand Up @@ -551,6 +579,9 @@ jobs:
circleci_home: /Users/distiller
no_output_timeout: 45m
- upload_coverage
- slack/notify:
event: fail
template: basic_fail_1

mac_amd64_integration:
macos:
Expand Down Expand Up @@ -583,6 +614,9 @@ jobs:
result_subdir: mac-amd64-integration-nightly
circleci_home: /Users/distiller
no_output_timeout: 45m
- slack/notify:
event: fail
template: basic_fail_1

mac_amd64_e2e_subs:
macos:
Expand Down Expand Up @@ -613,6 +647,9 @@ jobs:
result_subdir: mac-amd64-e2e_subs-nightly
circleci_home: /Users/distiller
no_output_timeout: 45m
- slack/notify:
event: fail
template: basic_fail_1

windows_x64_build:
executor:
Expand Down

0 comments on commit 4a8c41b

Please sign in to comment.