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.ChromiumPyauto | 18 ActiveMaster = master_site_config.ChromiumPyauto |
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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 # Adds common status and tools to this master. | 211 # Adds common status and tools to this master. |
211 master_utils.AutoSetupMaster(c, ActiveMaster, | 212 master_utils.AutoSetupMaster(c, ActiveMaster, |
212 public_html='../master.chromium/public_html', | 213 public_html='../master.chromium/public_html', |
213 templates=['../master.chromium/templates'], | 214 templates=['../master.chromium/templates'], |
214 enable_http_status_push=ActiveMaster.is_production_host) | 215 enable_http_status_push=ActiveMaster.is_production_host) |
215 | 216 |
216 ####### PROJECT IDENTITY | 217 ####### PROJECT IDENTITY |
217 | 218 |
218 # Buildbot master url: | 219 # Buildbot master url: |
219 c['buildbotURL'] = 'http://build.chromium.org/buildbot/pyauto/' | 220 c['buildbotURL'] = 'http://build.chromium.org/buildbot/pyauto/' |
OLD | NEW |