Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: masters/master.chromium.chromiumos/master_gatekeeper_cfg.py

Issue 14383021: Break config_default into master_site_configs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Rebase Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from master import gatekeeper 5 from master import gatekeeper
6 from master import master_utils 6 from master import master_utils
7 7
8 # This is the list of the builder categories and the corresponding critical 8 # This is the list of the builder categories and the corresponding critical
9 # steps. If one critical step fails, gatekeeper will close the tree 9 # steps. If one critical step fails, gatekeeper will close the tree
10 # automatically. 10 # automatically.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 'BuildBoard', 84 'BuildBoard',
85 'UnitTest', 85 'UnitTest',
86 ] 86 ]
87 } 87 }
88 88
89 subject = ('buildbot %(result)s in %(projectName)s on %(builder)s, ' 89 subject = ('buildbot %(result)s in %(projectName)s on %(builder)s, '
90 'revision %(revision)s') 90 'revision %(revision)s')
91 warning_header = ('Please look at failure in "%(steps)s" on "%(builder)s" ' 91 warning_header = ('Please look at failure in "%(steps)s" on "%(builder)s" '
92 'and help out if you can') 92 'and help out if you can')
93 93
94 def Update(config, active_master, alternate_master, c): 94 def Update(config, active_master, c):
95 # chrome likely/possible failures to the chrome sheriffs, closing the 95 # chrome likely/possible failures to the chrome sheriffs, closing the
96 # chrome tree 96 # chrome tree
97 c['status'].append(gatekeeper.GateKeeper( 97 c['status'].append(gatekeeper.GateKeeper(
98 fromaddr=active_master.from_address, 98 fromaddr=active_master.from_address,
99 categories_steps=chromium_categories_steps, 99 categories_steps=chromium_categories_steps,
100 exclusions=exclusions, 100 exclusions=exclusions,
101 relayhost=config.Master.smtp, 101 relayhost=config.Master.smtp,
102 subject=subject, 102 subject=subject,
103 extraRecipients=active_master.tree_closing_notification_recipients, 103 extraRecipients=active_master.tree_closing_notification_recipients,
104 lookup=master_utils.FilterDomain(), 104 lookup=master_utils.FilterDomain(),
105 forgiving_steps=forgiving_steps, 105 forgiving_steps=forgiving_steps,
106 tree_status_url=active_master.tree_status_url, 106 tree_status_url=active_master.tree_status_url,
107 sheriffs=['sheriff'], 107 sheriffs=['sheriff'],
108 public_html='../master.chromium/public_html', 108 public_html='../master.chromium/public_html',
109 use_getname=True)) 109 use_getname=True))
110 # chromium os failures close the chromeOS tree 110 # chromium os failures close the chromeOS tree
111 c['status'].append(gatekeeper.GateKeeper( 111 c['status'].append(gatekeeper.GateKeeper(
112 fromaddr=active_master.from_address, 112 fromaddr=active_master.from_address,
113 categories_steps=close_chromiumos_categories_steps, 113 categories_steps=close_chromiumos_categories_steps,
114 exclusions=exclusions, 114 exclusions=exclusions,
115 relayhost=config.Master.smtp, 115 relayhost=config.Master.smtp,
116 subject='Closer ' + subject, 116 subject='Closer ' + subject,
117 extraRecipients=alternate_master.tree_closing_notification_recipients, 117 extraRecipients=(
118 active_master.alternate_tree_closing_notification_recipients),
118 lookup=master_utils.FilterDomain(), 119 lookup=master_utils.FilterDomain(),
119 forgiving_steps=forgiving_steps, 120 forgiving_steps=forgiving_steps,
120 tree_status_url=alternate_master.tree_status_url, 121 tree_status_url=active_master.alternate_tree_status_url,
121 sheriffs=['sheriff_cros_mtv', 'sheriff_cros_nonmtv'], 122 sheriffs=['sheriff_cros_mtv', 'sheriff_cros_nonmtv'],
122 public_html='../master.chromium/public_html', 123 public_html='../master.chromium/public_html',
123 use_getname=True)) 124 use_getname=True))
124 # chromium os buried failures/flakiness to chrome OS folk 125 # chromium os buried failures/flakiness to chrome OS folk
125 c['status'].append(gatekeeper.GateKeeper( 126 c['status'].append(gatekeeper.GateKeeper(
126 fromaddr=active_master.from_address, 127 fromaddr=active_master.from_address,
127 categories_steps=warn_chromiumos_categories_steps, 128 categories_steps=warn_chromiumos_categories_steps,
128 exclusions=exclusions, 129 exclusions=exclusions,
129 relayhost=config.Master.smtp, 130 relayhost=config.Master.smtp,
130 subject='Warning ' + subject, 131 subject='Warning ' + subject,
(...skipping 14 matching lines...) Expand all
145 relayhost=config.Master.smtp, 146 relayhost=config.Master.smtp,
146 subject='Warning ' + subject, 147 subject='Warning ' + subject,
147 status_header=warning_header, 148 status_header=warning_header,
148 extraRecipients=[], 149 extraRecipients=[],
149 lookup=master_utils.FilterDomain(), 150 lookup=master_utils.FilterDomain(),
150 forgiving_steps=forgiving_steps, 151 forgiving_steps=forgiving_steps,
151 tree_status_url=None, 152 tree_status_url=None,
152 sheriffs=['sheriff_aura'], 153 sheriffs=['sheriff_aura'],
153 public_html='../master.chromium/public_html', 154 public_html='../master.chromium/public_html',
154 use_getname=True)) 155 use_getname=True))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698