Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CircleCI: Add Slack notifications for rel/nightly failures #2643

Merged
merged 31 commits into from
Aug 11, 2021
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ceb2e29
test parameterizing no_output_timeout and -short
algobarb Jul 23, 2021
2f03503
add params to general integration
algobarb Jul 23, 2021
af3a01e
revert back to original relnightly filter
algobarb Jul 23, 2021
569c011
edit description
algobarb Jul 23, 2021
a98b5e1
revert back to med for integration
algobarb Jul 27, 2021
a476017
test
algobarb Jul 27, 2021
470a2fb
test
algobarb Jul 27, 2021
ff46436
formatting
algobarb Jul 27, 2021
fe189aa
make sure arm64_integration is running short
algobarb Jul 27, 2021
57a0e74
rename go_test_flags to short_test_flag
algobarb Jul 27, 2021
1139253
Merge branch 'barbara/circleslack' into barbara/circleaddparams
algobarb Jul 27, 2021
c4477b6
test slack
algobarb Jul 27, 2021
e5abedd
add slack context
algobarb Jul 27, 2021
8249f60
add slack to codegen test
algobarb Jul 28, 2021
c6097ac
notify on pull
algobarb Jul 28, 2021
c9cfa77
try adding context to job
algobarb Jul 28, 2021
f8a6887
use new slack orb
algobarb Jul 28, 2021
d63559c
test example slack
algobarb Jul 28, 2021
a38ae7e
test example slack
algobarb Jul 28, 2021
5858e52
test example slack
algobarb Jul 28, 2021
9f98dea
test example slack
algobarb Jul 28, 2021
ba412db
test example slack
algobarb Jul 28, 2021
bd68483
revert back a few steps
algobarb Jul 28, 2021
ad7a120
Merge branch 'master' into barbara/circleslack
algobarb Aug 2, 2021
9fb5839
test circle slack example
algobarb Aug 2, 2021
182f8b4
add context with quotes
algobarb Aug 2, 2021
e102e62
test branch filter with quotes
algobarb Aug 5, 2021
7c0203e
test
algobarb Aug 5, 2021
2fc1822
Merge branch 'barbara/circleslack'
algobarb Aug 9, 2021
bf181ab
Merge branch 'master' of github.com:algobarb/go-algorand
algobarb Aug 9, 2021
04bfaa4
add slack alerts to rel/nightly
algobarb Aug 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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