OLD | NEW |
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 Loading... |
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" |
OLD | NEW |