OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 from master import master_utils | 5 from master import master_utils |
6 from master import slaves_list | 6 from master import slaves_list |
7 | 7 |
8 import config | 8 import config |
| 9 import master_site_config |
9 | 10 |
10 ActiveMaster = config.Master.ChromiumWebkit | 11 ActiveMaster = master_site_config.ChromiumWebkit |
11 | 12 |
12 # Only the production Chromium Buildbots acts as the tree gatekeeper. | 13 # Only the production Chromium Buildbots acts as the tree gatekeeper. |
13 TREE_GATE_KEEPER = ActiveMaster.is_production_host | 14 TREE_GATE_KEEPER = ActiveMaster.is_production_host |
14 | 15 |
15 c = BuildmasterConfig = {} | 16 c = BuildmasterConfig = {} |
16 c['change_source'] = [] | 17 c['change_source'] = [] |
17 c['schedulers'] = [] | 18 c['schedulers'] = [] |
18 c['builders'] = [] | 19 c['builders'] = [] |
19 c['status'] = [] | 20 c['status'] = [] |
20 | 21 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], | 86 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], |
86 config.Master.GetBotPassword()) | 87 config.Master.GetBotPassword()) |
87 master_utils.VerifySetup(c, slaves) | 88 master_utils.VerifySetup(c, slaves) |
88 | 89 |
89 # Adds common status and tools to this master. | 90 # Adds common status and tools to this master. |
90 master_utils.AutoSetupMaster(c, ActiveMaster, | 91 master_utils.AutoSetupMaster(c, ActiveMaster, |
91 public_html='../master.chromium/public_html', | 92 public_html='../master.chromium/public_html', |
92 templates=['../master.chromium/templates'], | 93 templates=['../master.chromium/templates'], |
93 order_console_by_time=True, | 94 order_console_by_time=True, |
94 enable_http_status_push=ActiveMaster.is_production_host) | 95 enable_http_status_push=ActiveMaster.is_production_host) |
OLD | NEW |