| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2012 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 ActiveMaster = master_site_config.NativeClientToolchain | 29 ActiveMaster = master_site_config.NativeClientToolchain |
| 30 | 30 |
| 31 nacl_source_url = ( | 31 nacl_source_url = ( |
| 32 'https://chromium.googlesource.com/native_client/src/native_client') | 32 'https://chromium.googlesource.com/native_client/src/native_client') |
| 33 | 33 |
| 34 # This is the dictionary that the buildmaster pays attention to. We also use | 34 # This is the dictionary that the buildmaster pays attention to. We also use |
| 35 # a shorter alias to save typing. | 35 # a shorter alias to save typing. |
| 36 c = BuildmasterConfig = {} | 36 c = BuildmasterConfig = {} |
| 37 | 37 |
| 38 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 38 config.DatabaseSetup(c) |
| 39 | 39 |
| 40 master_poller = gitiles_poller.GitilesPoller(nacl_source_url) | 40 master_poller = gitiles_poller.GitilesPoller(nacl_source_url) |
| 41 | 41 |
| 42 c['change_source'] = [master_poller] | 42 c['change_source'] = [master_poller] |
| 43 | 43 |
| 44 def F_NACL_RECIPE(): | 44 def F_NACL_RECIPE(): |
| 45 return annotator_factory.AnnotatorFactory().BaseFactory(recipe='nacl', | 45 return annotator_factory.AnnotatorFactory().BaseFactory(recipe='nacl', |
| 46 factory_properties = {'slavetype': 'BuilderTester'}); | 46 factory_properties = {'slavetype': 'BuilderTester'}); |
| 47 | 47 |
| 48 # The identifier of the factory is the build configuration. If two factories | 48 # The identifier of the factory is the build configuration. If two factories |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 # Adds common status and tools to this master. | 150 # Adds common status and tools to this master. |
| 151 master_utils.AutoSetupMaster( | 151 master_utils.AutoSetupMaster( |
| 152 c, ActiveMaster, | 152 c, ActiveMaster, |
| 153 public_html='../master.chromium/public_html', | 153 public_html='../master.chromium/public_html', |
| 154 tagComparator=master_poller.comparator, | 154 tagComparator=master_poller.comparator, |
| 155 templates=['./templates', '../master.client.nacl/templates']) | 155 templates=['./templates', '../master.client.nacl/templates']) |
| 156 | 156 |
| 157 | 157 |
| 158 # Adjust the buildCaches to be 3x the number of slaves per builder. | 158 # Adjust the buildCaches to be 3x the number of slaves per builder. |
| 159 c['autoBuildCacheRatio'] = 3 | 159 c['autoBuildCacheRatio'] = 3 |
| OLD | NEW |