Skip to content

Commit 7a1c177

Browse files
[ProfCheck] Add email notifiers (#569)
Send email to the group on new failures or when the buildbot is missing.
1 parent e6feaac commit 7a1c177

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

buildbot/osuosl/master/config/status.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,15 @@ def getReporters():
568568
builders = [
569569
"llvm-x86_64-debugify-coverage"])
570570
]),
571-
571+
reporters.MailNotifier(
572+
fromaddr = status_email_fromaddr,
573+
sendToInterestedUsers = False,
574+
extraRecipients = ["[email protected]"],
575+
generators = [
576+
utils.LLVMDefaultBuildStatusGenerator(
577+
builders = [
578+
"profcheck"])
579+
]),
572580
])
573581

574582
return r

buildbot/osuosl/master/config/workers.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,18 @@ def get_all():
424424
# Workers for the profcheck configuration
425425
# These workers run builds with LLVM_ENABLE_PROFCHECK=ON to ensure
426426
# that profile information is propagated correctly.
427-
create_worker("profcheck-b1", properties={'jobs': 64}, max_builds=1),
428-
create_worker("profcheck-b2", properties={'jobs': 64}, max_builds=1),
429-
427+
create_worker(
428+
"profcheck-b1",
429+
properties={"jobs": 64},
430+
max_builds=1,
431+
notify_on_missing=["[email protected]"],
432+
),
433+
create_worker(
434+
"profcheck-b2",
435+
properties={"jobs": 64},
436+
max_builds=1,
437+
notify_on_missing=["[email protected]"],
438+
),
430439
# FIXME: A placeholder for annoying worker which nobody could stop.
431440
# adding it avoid logs spammed by failed authentication for that worker.
432441
create_worker("mlir-ubuntu-worker0"),

0 commit comments

Comments
 (0)