| 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 # vim: set ft=python: | 4 # vim: set ft=python: |
| 5 | 5 |
| 6 from buildbot.scheduler import Dependent | 6 from buildbot.scheduler import Dependent |
| 7 | 7 |
| 8 from common import chromium_utils | 8 from common import chromium_utils |
| 9 | 9 |
| 10 from master import gitiles_poller | 10 from master import gitiles_poller |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 ActiveMaster = master_site_config.ChromiumGPU | 21 ActiveMaster = master_site_config.ChromiumGPU |
| 22 | 22 |
| 23 # This is the dictionary that the buildmaster pays attention to. We also use | 23 # This is the dictionary that the buildmaster pays attention to. We also use |
| 24 # a shorter alias to save typing. | 24 # a shorter alias to save typing. |
| 25 c = BuildmasterConfig = {} | 25 c = BuildmasterConfig = {} |
| 26 c['status'] = [] | 26 c['status'] = [] |
| 27 | 27 |
| 28 # Disable compression for the stdio files. | 28 # Disable compression for the stdio files. |
| 29 c['logCompressionLimit'] = False | 29 c['logCompressionLimit'] = False |
| 30 | 30 |
| 31 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 31 config.DatabaseSetup(c) |
| 32 | 32 |
| 33 ####### CHANGESOURCES | 33 ####### CHANGESOURCES |
| 34 | 34 |
| 35 master_poller = gitiles_poller.GitilesPoller( | 35 master_poller = gitiles_poller.GitilesPoller( |
| 36 'https://chromium.googlesource.com/chromium/src') | 36 'https://chromium.googlesource.com/chromium/src') |
| 37 | 37 |
| 38 c['change_source'] = [master_poller] | 38 c['change_source'] = [master_poller] |
| 39 | 39 |
| 40 | 40 |
| 41 ####### SLAVES | 41 ####### SLAVES |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 # Buildbot master url: | 89 # Buildbot master url: |
| 90 # Must come before AutoSetupMaster(). | 90 # Must come before AutoSetupMaster(). |
| 91 c['buildbotURL'] = ActiveMaster.buildbot_url | 91 c['buildbotURL'] = ActiveMaster.buildbot_url |
| 92 | 92 |
| 93 # Adds common status and tools to this master. | 93 # Adds common status and tools to this master. |
| 94 master_utils.AutoSetupMaster(c, ActiveMaster, | 94 master_utils.AutoSetupMaster(c, ActiveMaster, |
| 95 public_html='../master.chromium/public_html', | 95 public_html='../master.chromium/public_html', |
| 96 templates=['../master.chromium/templates'], | 96 templates=['../master.chromium/templates'], |
| 97 tagComparator=master_poller.comparator, | 97 tagComparator=master_poller.comparator, |
| 98 enable_http_status_push=ActiveMaster.is_production_host) | 98 enable_http_status_push=ActiveMaster.is_production_host) |
| OLD | NEW |