Skip to content

Commit

Permalink
Add slack message for longrun status (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
nefrathenrici authored Mar 20, 2024
1 parent 3d0287d commit 26e29d4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .buildkite/longruns/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,13 @@ steps:
key: "cpu_unittests"
command:
- "julia --project=test --color=yes test/aerosol_activation_emulators.jl"

- wait

- label: ":envelope: Slack report"
command: |
if [ $$(buildkite-agent step get "outcome" --step "cpu_unittests") == "passed" ]; then
slack-message -c "#microphysics-dev" -x "CloudMicrophysics buildkite-longruns success"
else
slack-message -c "#microphysics-dev" -x "CloudMicrophysics buildkite-longruns failure"
fi

0 comments on commit 26e29d4

Please sign in to comment.