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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], | 162 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], |
162 config.Master.GetBotPassword()) | 163 config.Master.GetBotPassword()) |
163 master_utils.VerifySetup(c, slaves) | 164 master_utils.VerifySetup(c, slaves) |
164 | 165 |
165 # Adds common status and tools to this master. | 166 # Adds common status and tools to this master. |
166 master_utils.AutoSetupMaster(c, ActiveMaster, | 167 master_utils.AutoSetupMaster(c, ActiveMaster, |
167 public_html='../master.chromium/public_html', | 168 public_html='../master.chromium/public_html', |
168 templates=['../master.chromium/templates'], | 169 templates=['../master.chromium/templates'], |
169 order_console_by_time=True, | 170 order_console_by_time=True, |
170 enable_http_status_push=ActiveMaster.is_production_host) | 171 enable_http_status_push=ActiveMaster.is_production_host) |
OLD | NEW |