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

Side by Side Diff: masters/master.chromium.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.chromium.perf.fyi/master.cfg ('k') | masters/master.chromium.swarm/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 2012 The Chromium Authors. All rights reserved. 1 # Copyright 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 # This is the buildmaster config file for the 'chromium.perf' bot. It must 5 # This is the buildmaster config file for the 'chromium.perf' bot. It must
6 # be installed as 'master.cfg' in your buildmaster's base directory 6 # be installed as 'master.cfg' in your buildmaster's base directory
7 # (although the filename can be changed with the --basedir option to 7 # (although the filename can be changed with the --basedir option to
8 # 'mktap buildbot master'). 8 # 'mktap buildbot master').
9 9
10 # It has one job: define a dictionary named BuildmasterConfig. This 10 # It has one job: define a dictionary named BuildmasterConfig. This
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 # 'slavePortnum' defines the TCP port to listen on. This must match the value 44 # 'slavePortnum' defines the TCP port to listen on. This must match the value
45 # configured into the buildslaves (with their --master option) 45 # configured into the buildslaves (with their --master option)
46 c['slavePortnum'] = ActiveMaster.slave_port 46 c['slavePortnum'] = ActiveMaster.slave_port
47 47
48 # Enable compression for any stdio log file larger than 10 MB. 48 # Enable compression for any stdio log file larger than 10 MB.
49 c['logCompressionLimit'] = 1024 * 1024 * 10 # 10 MB 49 c['logCompressionLimit'] = 1024 * 1024 * 10 # 10 MB
50 50
51 # Load the list of slaves. 51 # Load the list of slaves.
52 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumPerf') 52 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumPerf')
53 53
54 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 54 config.DatabaseSetup(c)
55 55
56 def recipe_factory(recipe): 56 def recipe_factory(recipe):
57 f_annotations = annotator_factory.AnnotatorFactory(ActiveMaster) 57 f_annotations = annotator_factory.AnnotatorFactory(ActiveMaster)
58 return f_annotations.BaseFactory(recipe=recipe) 58 return f_annotations.BaseFactory(recipe=recipe)
59 59
60 60
61 # ------------------------------------------------------------------------------ 61 # ------------------------------------------------------------------------------
62 # Change Sources. 62 # Change Sources.
63 63
64 # Polls config.Master.trunk_url for changes 64 # Polls config.Master.trunk_url for changes
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 251
252 ####### PROJECT IDENTITY 252 ####### PROJECT IDENTITY
253 253
254 # the 'projectName' string will be used to describe the project that this 254 # the 'projectName' string will be used to describe the project that this
255 # buildbot is working on. For example, it is used as the title of the 255 # buildbot is working on. For example, it is used as the title of the
256 # waterfall HTML page. The 'projectURL' string will be used to provide a link 256 # waterfall HTML page. The 'projectURL' string will be used to provide a link
257 # from buildbot HTML pages to your project's home page. 257 # from buildbot HTML pages to your project's home page.
258 258
259 c['projectName'] = ActiveMaster.project_name 259 c['projectName'] = ActiveMaster.project_name
260 c['projectURL'] = config.Master.project_url 260 c['projectURL'] = config.Master.project_url
OLDNEW
« no previous file with comments | « masters/master.chromium.perf.fyi/master.cfg ('k') | masters/master.chromium.swarm/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698