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

Side by Side Diff: masters/master.chromium.lkgr/master.cfg

Issue 1241393002: Add a MailNotifier that notifies chrome-security-sheriff@grotations.appspotmail.com for LKGR builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: address comments Created 5 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 buildbot.status.mail import MailNotifier
6
5 from master import master_utils 7 from master import master_utils
6 from master import slaves_list 8 from master import slaves_list
7 9
8 import config 10 import config
9 import master_site_config 11 import master_site_config
10 12
11 ActiveMaster = master_site_config.ChromiumLKGR 13 ActiveMaster = master_site_config.ChromiumLKGR
12 14
13 c = BuildmasterConfig = {} 15 c = BuildmasterConfig = {}
14 c['change_source'] = [] 16 c['change_source'] = []
(...skipping 24 matching lines...) Expand all
39 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], 41 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'],
40 config.Master.GetBotPassword()) 42 config.Master.GetBotPassword())
41 master_utils.VerifySetup(c, slaves) 43 master_utils.VerifySetup(c, slaves)
42 44
43 # Adds common status and tools to this master. 45 # Adds common status and tools to this master.
44 master_utils.AutoSetupMaster(c, ActiveMaster, 46 master_utils.AutoSetupMaster(c, ActiveMaster,
45 public_html='../master.chromium/public_html', 47 public_html='../master.chromium/public_html',
46 templates=['../master.chromium/templates'], 48 templates=['../master.chromium/templates'],
47 tagComparator=c['change_source'][0].comparator, 49 tagComparator=c['change_source'][0].comparator,
48 enable_http_status_push=ActiveMaster.is_production_host) 50 enable_http_status_push=ActiveMaster.is_production_host)
51
52 c['status'].append(MailNotifier(
53 fromaddr=ActiveMaster.from_address,
54 mode='problem',
55 relayhost=config.Master.smtp,
56 subject='LKGR build failure on %(builder)s',
57 extraRecipients=['chrome-security-sheriff@grotations.appspotmail.com'],
58 sendToInterestedUsers=False))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698