| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
| 6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
| 7 | 7 |
| 8 # This is the buildmaster config file for the 'nacl' bot. It must | 8 # This is the buildmaster config file for the 'nacl' bot. It must |
| 9 # be installed as 'master.cfg' in your buildmaster's base directory | 9 # be installed as 'master.cfg' in your buildmaster's base directory |
| 10 # (although the filename can be changed with the --basedir option to | 10 # (although the filename can be changed with the --basedir option to |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 import master_site_config | 30 import master_site_config |
| 31 | 31 |
| 32 ActiveMaster = master_site_config.WebPorts | 32 ActiveMaster = master_site_config.WebPorts |
| 33 | 33 |
| 34 GOOD_REVISIONS = ActiveMaster.is_production_host | 34 GOOD_REVISIONS = ActiveMaster.is_production_host |
| 35 | 35 |
| 36 # This is the dictionary that the buildmaster pays attention to. We also use | 36 # This is the dictionary that the buildmaster pays attention to. We also use |
| 37 # a shorter alias to save typing. | 37 # a shorter alias to save typing. |
| 38 c = BuildmasterConfig = {} | 38 c = BuildmasterConfig = {} |
| 39 | 39 |
| 40 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 40 config.DatabaseSetup(c) |
| 41 | 41 |
| 42 ####### CHANGESOURCES | 42 ####### CHANGESOURCES |
| 43 | 43 |
| 44 # the 'change_source' list tells the buildmaster how it should find out about | 44 # the 'change_source' list tells the buildmaster how it should find out about |
| 45 # source code changes. Any class which implements IChangeSource can be added | 45 # source code changes. Any class which implements IChangeSource can be added |
| 46 # to this list: there are several in buildbot/changes/*.py to choose from. | 46 # to this list: there are several in buildbot/changes/*.py to choose from. |
| 47 | 47 |
| 48 git_url = 'https://chromium.googlesource.com/webports.git' | 48 git_url = 'https://chromium.googlesource.com/webports.git' |
| 49 poller = gitiles_poller.GitilesPoller(git_url) | 49 poller = gitiles_poller.GitilesPoller(git_url) |
| 50 c['change_source'] = [poller] | 50 c['change_source'] = [poller] |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 master_utils.AutoSetupMaster(c, ActiveMaster, | 136 master_utils.AutoSetupMaster(c, ActiveMaster, |
| 137 tagComparator=poller.comparator, | 137 tagComparator=poller.comparator, |
| 138 mail_notifier=True, | 138 mail_notifier=True, |
| 139 public_html='../master.chromium/public_html', | 139 public_html='../master.chromium/public_html', |
| 140 templates=['./templates', | 140 templates=['./templates', |
| 141 '../master.client.nacl/templates']) | 141 '../master.client.nacl/templates']) |
| 142 | 142 |
| 143 | 143 |
| 144 # Adjust the buildCaches to be 3x the number of slaves per builder. | 144 # Adjust the buildCaches to be 3x the number of slaves per builder. |
| 145 c['autoBuildCacheRatio'] = 3 | 145 c['autoBuildCacheRatio'] = 3 |
| OLD | NEW |