OLD | NEW |
| (Empty) |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 from master import master_utils | |
6 from master import slaves_list | |
7 | |
8 import config | |
9 | |
10 ActiveMaster = config.Master.ChromiumFYI | |
11 | |
12 c = BuildmasterConfig = {} | |
13 c['change_source'] = [] | |
14 c['schedulers'] = [] | |
15 c['builders'] = [] | |
16 c['status'] = [] | |
17 | |
18 | |
19 import master_source_cfg | |
20 import master_mac_latest_cfg | |
21 | |
22 master_source_cfg.Update(config, ActiveMaster, c) | |
23 master_mac_latest_cfg.Update(config, ActiveMaster, c) | |
24 | |
25 c['logCompressionLimit'] = False | |
26 c['projectName'] = ActiveMaster.project_name | |
27 c['projectURL'] = config.Master.project_url | |
28 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.fyi/' | |
29 | |
30 # Associate the slaves to the manual builders. The configuration is in | |
31 # slaves.cfg. | |
32 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumFYI') | |
33 for builder in c['builders']: | |
34 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) | |
35 | |
36 # The 'slaves' list defines the set of allowable buildslaves. List all the | |
37 # slaves registered to a builder. Remove dupes. | |
38 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], | |
39 config.Master.GetBotPassword()) | |
40 master_utils.VerifySetup(c, slaves) | |
41 | |
42 # Adds common status and tools to this master. | |
43 master_utils.AutoSetupMaster( | |
44 c, ActiveMaster, | |
45 public_html="../../../third_party/chromium_buildbot/masters/master.chromium/
public_html") | |
OLD | NEW |