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 buildbot.changes import svnpoller | 5 from buildbot.changes import svnpoller |
6 from buildbot.scheduler import Scheduler | 6 from buildbot.scheduler import Scheduler |
7 from master import build_utils | 7 from master import build_utils |
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 from master.factory import chromium_factory | 10 from master.factory import chromium_factory |
11 | 11 |
12 import config | 12 import config |
| 13 import master_site_config |
13 | 14 |
14 ActiveMaster = config.Master.DevTools | 15 ActiveMaster = master_site_config.DevTools |
15 | 16 |
16 c = BuildmasterConfig = {} | 17 c = BuildmasterConfig = {} |
17 c['status'] = [] | 18 c['status'] = [] |
18 | 19 |
19 | 20 |
20 def ChromeTreeFileSplitter(path): | 21 def ChromeTreeFileSplitter(path): |
21 """split_file for the 'src' project in the trunk.""" | 22 """split_file for the 'src' project in the trunk.""" |
22 | 23 |
23 # Exclude .DEPS.git from triggering builds on chrome. | 24 # Exclude .DEPS.git from triggering builds on chrome. |
24 if path == 'src/.DEPS.git': | 25 if path == 'src/.DEPS.git': |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], | 165 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], |
165 config.Master.GetBotPassword()) | 166 config.Master.GetBotPassword()) |
166 master_utils.VerifySetup(c, slaves) | 167 master_utils.VerifySetup(c, slaves) |
167 | 168 |
168 # Adds common status and tools to this master. | 169 # Adds common status and tools to this master. |
169 master_utils.AutoSetupMaster(c, ActiveMaster, | 170 master_utils.AutoSetupMaster(c, ActiveMaster, |
170 public_html='../master.chromium/public_html', | 171 public_html='../master.chromium/public_html', |
171 templates=['../master.chromium/templates'], | 172 templates=['../master.chromium/templates'], |
172 order_console_by_time=True, | 173 order_console_by_time=True, |
173 enable_http_status_push=ActiveMaster.is_production_host) | 174 enable_http_status_push=ActiveMaster.is_production_host) |
OLD | NEW |