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

Side by Side Diff: masters/master.client.sfntly/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 # -*- Python -*- 1 # -*- Python -*-
2 # ex: set syntax=python: 2 # ex: set syntax=python:
3 3
4 # This is a sample buildmaster config file. It must be installed as 4 # This is a sample buildmaster config file. It must be installed as
5 # 'master.cfg' in your buildmaster's base directory. 5 # 'master.cfg' in your buildmaster's base directory.
6 6
7 import config 7 import config
8 import master_site_config
8 9
9 # This is the dictionary that the buildmaster pays attention to. We also use 10 # This is the dictionary that the buildmaster pays attention to. We also use
10 # a shorter alias to save typing. 11 # a shorter alias to save typing.
11 c = BuildmasterConfig = {} 12 c = BuildmasterConfig = {}
12 13
13 ####### CHANGESOURCES 14 ####### CHANGESOURCES
14 15
15 # the 'change_source' setting tells the buildmaster how it should find out 16 # the 'change_source' setting tells the buildmaster how it should find out
16 # about source code changes. Here we point to the buildbot clone of pyflakes. 17 # about source code changes. Here we point to the buildbot clone of pyflakes.
17 18
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 c['schedulers'] = [ 273 c['schedulers'] = [
273 SingleBranchScheduler( 274 SingleBranchScheduler(
274 name="all", 275 name="all",
275 branch=None, 276 branch=None,
276 treeStableTimer=30, 277 treeStableTimer=30,
277 builderNames=allBuilders) 278 builderNames=allBuilders)
278 ] 279 ]
279 280
280 ####### BUILDSLAVES 281 ####### BUILDSLAVES
281 282
282 ActiveMaster = config.Master.Sfntly 283 ActiveMaster = master_site_config.Sfntly
283 284
284 # The 'slaves' list defines the set of allowable buildslaves. List all the 285 # The 'slaves' list defines the set of allowable buildslaves. List all the
285 # slaves registered to a builder. Remove dupes. 286 # slaves registered to a builder. Remove dupes.
286 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], 287 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'],
287 config.Master.GetBotPassword()) 288 config.Master.GetBotPassword())
288 289
289 # Make sure everything works together. 290 # Make sure everything works together.
290 master_utils.VerifySetup(c, slaves) 291 master_utils.VerifySetup(c, slaves)
291 292
292 ActiveMaster = config.Master.Sfntly 293 ActiveMaster = master_site_config.Sfntly
293 c['projectName'] = ActiveMaster.project_name 294 c['projectName'] = ActiveMaster.project_name
294 c['projectURL'] = ActiveMaster.project_url 295 c['projectURL'] = ActiveMaster.project_url
295 c['buildbotURL'] = 'http://build.chromium.org/p/client.sfntly/' 296 c['buildbotURL'] = 'http://build.chromium.org/p/client.sfntly/'
296 297
297 # Adds common status and tools to this master. 298 # Adds common status and tools to this master.
298 master_utils.AutoSetupMaster(c, ActiveMaster) 299 master_utils.AutoSetupMaster(c, ActiveMaster)
299 300
300 ####### DB URL 301 ####### DB URL
301 302
302 # This specifies what database buildbot uses to store change and scheduler 303 # This specifies what database buildbot uses to store change and scheduler
303 # state. You can leave this at its default for all but the largest 304 # state. You can leave this at its default for all but the largest
304 # installations. 305 # installations.
305 c['db_url'] = "sqlite:///state.sqlite" 306 c['db_url'] = "sqlite:///state.sqlite"
OLDNEW
« no previous file with comments | « masters/master.client.pagespeed/master_site_config.py ('k') | masters/master.client.sfntly/master_site_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698