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

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

Issue 14383021: Break config_default into master_site_configs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: config -> config_bootstrap for masters_test import 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 buildbot.status import mail 5 from buildbot.status import mail
6 6
7 # These modules come from scripts/master, which must be in the PYTHONPATH. 7 # These modules come from scripts/master, which must be in the PYTHONPATH.
8 from master import master_utils 8 from master import master_utils
9 from master import slaves_list 9 from master import slaves_list
10 10
11 import config 11 import config
12 ActiveMaster = config.Master.ChromiumWebRTC 12 import master_site_config
13 ActiveMaster = master_site_config.ChromiumWebRTC
13 14
14 c = BuildmasterConfig = {} 15 c = BuildmasterConfig = {}
15 c['change_source'] = [] 16 c['change_source'] = []
16 c['schedulers'] = [] 17 c['schedulers'] = []
17 c['builders'] = [] 18 c['builders'] = []
18 c['status'] = [] 19 c['status'] = []
19 20
20 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 21 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host)
21 22
22 import master_source_cfg 23 import master_source_cfg
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 extraRecipients=[ActiveMaster.from_address], 66 extraRecipients=[ActiveMaster.from_address],
66 mode='problem', 67 mode='problem',
67 relayhost=config.Master.smtp)) 68 relayhost=config.Master.smtp))
68 69
69 # Do it at the end to override values set by AutoSetupMaster, the default is 70 # Do it at the end to override values set by AutoSetupMaster, the default is
70 # too low. Must keep at least a few days worth of builds. 71 # too low. Must keep at least a few days worth of builds.
71 c['buildHorizon'] = 3000 72 c['buildHorizon'] = 3000
72 c['logHorizon'] = 3000 73 c['logHorizon'] = 3000
73 # Must be at least 2x the number of slaves. 74 # Must be at least 2x the number of slaves.
74 c['eventHorizon'] = 200 75 c['eventHorizon'] = 200
OLDNEW
« no previous file with comments | « masters/master.chromium.webrtc.fyi/master_site_config.py ('k') | masters/master.chromium.webrtc/master_site_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698