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 Dependent | 6 from buildbot.scheduler import Dependent |
7 from buildbot.scheduler import Scheduler | 7 from buildbot.scheduler import Scheduler |
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.ChromiumGPU | 18 ActiveMaster = master_site_config.ChromiumGPU |
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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 # Adds common status and tools to this master. | 394 # Adds common status and tools to this master. |
394 master_utils.AutoSetupMaster(c, ActiveMaster, | 395 master_utils.AutoSetupMaster(c, ActiveMaster, |
395 public_html='../master.chromium/public_html', | 396 public_html='../master.chromium/public_html', |
396 templates=['../master.chromium/templates'], | 397 templates=['../master.chromium/templates'], |
397 enable_http_status_push=ActiveMaster.is_production_host) | 398 enable_http_status_push=ActiveMaster.is_production_host) |
398 | 399 |
399 ####### PROJECT IDENTITY | 400 ####### PROJECT IDENTITY |
400 | 401 |
401 # Buildbot master url: | 402 # Buildbot master url: |
402 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.gpu/' | 403 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.gpu/' |
OLD | NEW |