summaryrefslogtreecommitdiff
path: root/cbuildbot/cbuildbot_config.py
diff options
context:
space:
mode:
authorYu-Ju Hong <yjhong@chromium.org>2014-08-18 12:46:45 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-08-22 00:57:01 +0000
commit24ff7db9159329d09c1126137dbe0184790f77a1 (patch)
tree2976e35cc1fc64c4e2a75941822bfc182dbe00e7 /cbuildbot/cbuildbot_config.py
parent720e5283feafd2c95ec92ad3fb66be8459d70f41 (diff)
downloadchromite-24ff7db9159329d09c1126137dbe0184790f77a1.tar.gz
Send CQ alert emails to the tree sheriffs
This CL enables sending alert emails to the tree sheriffs. As part of the process, functions that retrieve sheriff's email address are moved to tree_status.py. BUG=None TEST=`cbuildbot/run_tests` Change-Id: Ib166d7d6e6e40bb9c7df1955d4e3c0a7d1f6a470 Reviewed-on: https://chromium-review.googlesource.com/212883 Tested-by: Yu-Ju Hong <yjhong@chromium.org> Reviewed-by: Don Garrett <dgarrett@chromium.org> Commit-Queue: Yu-Ju Hong <yjhong@chromium.org>
Diffstat (limited to 'cbuildbot/cbuildbot_config.py')
-rwxr-xr-xcbuildbot/cbuildbot_config.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/cbuildbot/cbuildbot_config.py b/cbuildbot/cbuildbot_config.py
index b008235ff..179d70249 100755
--- a/cbuildbot/cbuildbot_config.py
+++ b/cbuildbot/cbuildbot_config.py
@@ -294,7 +294,12 @@ _settings = dict(
health_threshold=0,
# health_alert_recipients -- List of email addresses to send health alerts to
-# for this builder.
+# for this builder. It supports automatic email
+# adderss lookup for the following sheriff types:
+# 'tree': tree sheriffs
+# 'build': build deputies
+# 'lab': lab sheriffs
+# 'chrome': chrome gardeners
health_alert_recipients=[],
# internal -- Whether this is an internal build config.
@@ -1653,7 +1658,8 @@ internal_paladin.add_config('pre-cq-launcher',
manifest_version=False,
# Every Pre-CQ launch failure should send out an alert.
health_threshold=1,
- health_alert_recipients=['chromeos-build-alerts@google.com'],
+ health_alert_recipients=['chromeos-build-alerts@google.com',
+ 'tree', 'build'],
)
internal_paladin.add_config(constants.BRANCH_UTIL_CONFIG,
@@ -1713,7 +1719,8 @@ internal_paladin.add_config('master-paladin',
# configuration in the board_config.py code.
paladin_builder_name='CQ master',
health_threshold=3,
- health_alert_recipients=['chromeos-build-alerts@google.com'],
+ health_alert_recipients=['chromeos-build-alerts@google.com',
+ 'tree', 'build'],
sanity_check_slaves=['link-tot-paladin'],
trybot_list=False,
)