Skip to content

Commit 30c7f6e

Browse files
authored
Add email alerts to buildkite pipelines (#1030)
Signed-off-by: Pysith Vanuptikul <piv@google.com>
1 parent 4c8629b commit 30c7f6e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.buildkite/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
x-run-condition: &run-on-nightly-or-tag
22
if: build.env("NIGHTLY") == "1" || build.tag =~ /^v?[0-9]+(\.[a-zA-Z0-9]+)*([a-zA-Z]+[0-9]*)?$/
33

4+
notify:
5+
- email: "ullm-oncall@rotations.google.com"
6+
if: build.state == "failed" && build.branch == "main"
7+
48
steps:
59
- label: "Upload Tests for Models & Features"
610
<<: *run-on-nightly-or-tag

.buildkite/pipeline_jax.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
notify:
2+
- email: "ullm-oncall@rotations.google.com"
3+
if: build.state == "failed" && build.branch == "main"
4+
15
steps:
26
# -----------------------------------------------------------------
37
# TEST STEPS - Calling wrapper

0 commit comments

Comments
 (0)