OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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.ChromiumLKGR | 11 ActiveMaster = master_site_config.ChromiumLKGR |
11 | 12 |
12 c = BuildmasterConfig = {} | 13 c = BuildmasterConfig = {} |
13 c['change_source'] = [] | 14 c['change_source'] = [] |
14 c['schedulers'] = [] | 15 c['schedulers'] = [] |
15 c['builders'] = [] | 16 c['builders'] = [] |
16 c['status'] = [] | 17 c['status'] = [] |
17 | 18 |
18 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 19 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) |
19 | 20 |
20 import master_source_cfg | 21 import master_source_cfg |
(...skipping 17 matching lines...) Expand all Loading... |
38 # slaves registered to a builder. Remove dupes. | 39 # slaves registered to a builder. Remove dupes. |
39 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], | 40 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], |
40 config.Master.GetBotPassword()) | 41 config.Master.GetBotPassword()) |
41 master_utils.VerifySetup(c, slaves) | 42 master_utils.VerifySetup(c, slaves) |
42 | 43 |
43 # Adds common status and tools to this master. | 44 # Adds common status and tools to this master. |
44 master_utils.AutoSetupMaster(c, ActiveMaster, | 45 master_utils.AutoSetupMaster(c, ActiveMaster, |
45 public_html='../master.chromium/public_html', | 46 public_html='../master.chromium/public_html', |
46 templates=['../master.chromium/templates'], | 47 templates=['../master.chromium/templates'], |
47 enable_http_status_push=ActiveMaster.is_production_host) | 48 enable_http_status_push=ActiveMaster.is_production_host) |
OLD | NEW |