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 buildbot.status import mail | 5 from buildbot.status import mail |
6 | 6 |
7 # These modules come from scripts/master, which must be in the PYTHONPATH. | 7 # These modules come from scripts/master, which must be in the PYTHONPATH. |
8 from master import master_utils | 8 from master import master_utils |
9 from master import slaves_list | 9 from master import slaves_list |
10 | 10 |
11 import config | 11 import config |
12 ActiveMaster = config.Master.ChromiumWebRTC | 12 import master_site_config |
| 13 ActiveMaster = master_site_config.ChromiumWebRTC |
13 | 14 |
14 c = BuildmasterConfig = {} | 15 c = BuildmasterConfig = {} |
15 c['change_source'] = [] | 16 c['change_source'] = [] |
16 c['schedulers'] = [] | 17 c['schedulers'] = [] |
17 c['builders'] = [] | 18 c['builders'] = [] |
18 c['status'] = [] | 19 c['status'] = [] |
19 | 20 |
20 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 21 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) |
21 | 22 |
22 import master_source_cfg | 23 import master_source_cfg |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 extraRecipients=[ActiveMaster.from_address], | 66 extraRecipients=[ActiveMaster.from_address], |
66 mode='problem', | 67 mode='problem', |
67 relayhost=config.Master.smtp)) | 68 relayhost=config.Master.smtp)) |
68 | 69 |
69 # Do it at the end to override values set by AutoSetupMaster, the default is | 70 # Do it at the end to override values set by AutoSetupMaster, the default is |
70 # too low. Must keep at least a few days worth of builds. | 71 # too low. Must keep at least a few days worth of builds. |
71 c['buildHorizon'] = 3000 | 72 c['buildHorizon'] = 3000 |
72 c['logHorizon'] = 3000 | 73 c['logHorizon'] = 3000 |
73 # Must be at least 2x the number of slaves. | 74 # Must be at least 2x the number of slaves. |
74 c['eventHorizon'] = 200 | 75 c['eventHorizon'] = 200 |
OLD | NEW |