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

Side by Side Diff: masters/master.tryserver.client.mojo/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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # These modules come from scripts/master, which must be in the PYTHONPATH. 5 # These modules come from scripts/master, which must be in the PYTHONPATH.
6 from master import master_utils 6 from master import master_utils
7 from master import slaves_list 7 from master import slaves_list
8 from master.builders_pools import BuildersPools 8 from master.builders_pools import BuildersPools
9 from master.factory import annotator_factory 9 from master.factory import annotator_factory
10 from buildbot.schedulers.basic import SingleBranchScheduler 10 from buildbot.schedulers.basic import SingleBranchScheduler
(...skipping 19 matching lines...) Expand all
30 'Mojo Android Builder Tests (dbg) Try', 30 'Mojo Android Builder Tests (dbg) Try',
31 ] 31 ]
32 32
33 for builder_name in builders: 33 for builder_name in builders:
34 c['builders'].append({ 34 c['builders'].append({
35 'name': builder_name, 35 'name': builder_name,
36 'factory': m_annotator.BaseFactory('mojo'), 36 'factory': m_annotator.BaseFactory('mojo'),
37 'slavebuilddir': 'mojo', 37 'slavebuilddir': 'mojo',
38 }) 38 })
39 39
40 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 40 config.DatabaseSetup(c)
41 41
42 c['logCompressionLimit'] = False 42 c['logCompressionLimit'] = False
43 c['projectName'] = ActiveMaster.project_name 43 c['projectName'] = ActiveMaster.project_name
44 c['projectURL'] = config.Master.project_url 44 c['projectURL'] = config.Master.project_url
45 # Must come before AutoSetupMaster(). 45 # Must come before AutoSetupMaster().
46 c['buildbotURL'] = ActiveMaster.buildbot_url 46 c['buildbotURL'] = ActiveMaster.buildbot_url
47 47
48 # Associate the slaves to the manual builders. The configuration is in 48 # Associate the slaves to the manual builders. The configuration is in
49 # slaves.cfg. 49 # slaves.cfg.
50 slaves = slaves_list.SlavesList('slaves.cfg', 'MojoTryServer') 50 slaves = slaves_list.SlavesList('slaves.cfg', 'MojoTryServer')
(...skipping 13 matching lines...) Expand all
64 templates=['../master.chromium/templates'], 64 templates=['../master.chromium/templates'],
65 enable_http_status_push=ActiveMaster.is_production_host) 65 enable_http_status_push=ActiveMaster.is_production_host)
66 66
67 67
68 # Do it at the end to override values set by AutoSetupMaster, the default is 68 # Do it at the end to override values set by AutoSetupMaster, the default is
69 # too low. Must keep at least a few days worth of builds. 69 # too low. Must keep at least a few days worth of builds.
70 c['buildHorizon'] = 3000 70 c['buildHorizon'] = 3000
71 c['logHorizon'] = 3000 71 c['logHorizon'] = 3000
72 # Must be at least 2x the number of slaves. 72 # Must be at least 2x the number of slaves.
73 c['eventHorizon'] = 200 73 c['eventHorizon'] = 200
OLDNEW
« no previous file with comments | « masters/master.tryserver.chromium.win/master.cfg ('k') | masters/master.tryserver.libyuv/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698