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

Side by Side Diff: masters/master.client.webrtc.perf/master.cfg

Issue 2094613002: Don't require a .dbconfig file on any masters. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 6 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 | « masters/master.client.webrtc.fyi/master.cfg ('k') | masters/master.client.webrtc/master.cfg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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.schedulers.basic import SingleBranchScheduler 5 from buildbot.schedulers.basic import SingleBranchScheduler
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 from master.factory import annotator_factory 10 from master.factory import annotator_factory
11 11
12 import config 12 import config
13 import master_site_config 13 import master_site_config
14 ActiveMaster = master_site_config.WebRTCPerf 14 ActiveMaster = master_site_config.WebRTCPerf
15 15
16 c = BuildmasterConfig = {} 16 c = BuildmasterConfig = {}
17 c['change_source'] = [] 17 c['change_source'] = []
18 c['schedulers'] = [] 18 c['schedulers'] = []
19 c['builders'] = [] 19 c['builders'] = []
20 c['status'] = [] 20 c['status'] = []
21 21
22 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 22 config.DatabaseSetup(c)
23 23
24 import master_source_cfg 24 import master_source_cfg
25 master_source_cfg.Update(config, c) 25 master_source_cfg.Update(config, c)
26 26
27 ####### BUILDERS 27 ####### BUILDERS
28 28
29 c['schedulers'].extend([ 29 c['schedulers'].extend([
30 SingleBranchScheduler(name='webrtc_scheduler', 30 SingleBranchScheduler(name='webrtc_scheduler',
31 branch='master', 31 branch='master',
32 treeStableTimer=0, 32 treeStableTimer=0,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 lookup=lookup, 102 lookup=lookup,
103 mode='problem', 103 mode='problem',
104 relayhost=config.Master.smtp)) 104 relayhost=config.Master.smtp))
105 105
106 # Do it at the end to override values set by AutoSetupMaster, the default is 106 # Do it at the end to override values set by AutoSetupMaster, the default is
107 # too low. Must keep at least a few days worth of builds. 107 # too low. Must keep at least a few days worth of builds.
108 c['buildHorizon'] = 3000 108 c['buildHorizon'] = 3000
109 c['logHorizon'] = 3000 109 c['logHorizon'] = 3000
110 # Must be at least 2x the number of slaves. 110 # Must be at least 2x the number of slaves.
111 c['eventHorizon'] = 200 111 c['eventHorizon'] = 200
OLDNEW
« no previous file with comments | « masters/master.client.webrtc.fyi/master.cfg ('k') | masters/master.client.webrtc/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698