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.changes import svnpoller | 5 from buildbot.changes import svnpoller |
6 from buildbot.scheduler import Scheduler | 6 from buildbot.scheduler import Scheduler |
7 from buildbot.scheduler import Triggerable | 7 from buildbot.scheduler import Triggerable |
8 | 8 |
9 from master import build_utils | 9 from master import build_utils |
10 from master import master_config | 10 from master import master_config |
11 from master import master_utils | 11 from master import master_utils |
12 from master import slaves_list | 12 from master import slaves_list |
13 from master.factory import chromium_factory | 13 from master.factory import chromium_factory |
14 | 14 |
15 import config | 15 import config |
| 16 import master_site_config |
16 | 17 |
17 ActiveMaster = config.Master.ChromiumChromeDriver | 18 ActiveMaster = master_site_config.ChromiumChromeDriver |
18 | 19 |
19 # This is the dictionary that the buildmaster pays attention to. We also use | 20 # This is the dictionary that the buildmaster pays attention to. We also use |
20 # a shorter alias to save typing. | 21 # a shorter alias to save typing. |
21 c = BuildmasterConfig = {} | 22 c = BuildmasterConfig = {} |
22 | 23 |
23 # Disable compression for the stdio files. | 24 # Disable compression for the stdio files. |
24 c['logCompressionLimit'] = False | 25 c['logCompressionLimit'] = False |
25 | 26 |
26 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 27 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) |
27 | 28 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 enable_http_status_push=ActiveMaster.is_production_host) | 170 enable_http_status_push=ActiveMaster.is_production_host) |
170 | 171 |
171 ####### PROJECT IDENTITY | 172 ####### PROJECT IDENTITY |
172 | 173 |
173 # Buildbot master url: | 174 # Buildbot master url: |
174 c['buildbotURL'] = 'http://build.chromium.org/buildbot/chromedriver/' | 175 c['buildbotURL'] = 'http://build.chromium.org/buildbot/chromedriver/' |
OLD | NEW |