| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 # Copyright 2014 The Chromium Authors. All rights reserved. | 3 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # READ THIS: | 7 # READ THIS: |
| 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure | 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure |
| 9 | 9 |
| 10 import os | 10 import os |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 ActiveMaster = master_site_config.BlinkTryServer | 22 ActiveMaster = master_site_config.BlinkTryServer |
| 23 | 23 |
| 24 | 24 |
| 25 MAIL_NOTIFIER = ActiveMaster.is_production_host | 25 MAIL_NOTIFIER = ActiveMaster.is_production_host |
| 26 | 26 |
| 27 # This is the dictionary that the buildmaster pays attention to. We also use | 27 # This is the dictionary that the buildmaster pays attention to. We also use |
| 28 # a shorter alias to save typing. | 28 # a shorter alias to save typing. |
| 29 c = BuildmasterConfig = {} | 29 c = BuildmasterConfig = {} |
| 30 | 30 |
| 31 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 31 config.DatabaseSetup(c) |
| 32 | 32 |
| 33 c['change_source'] = [] | 33 c['change_source'] = [] |
| 34 | 34 |
| 35 # Avoid merging requests. | 35 # Avoid merging requests. |
| 36 c['mergeRequests'] = lambda *_: False | 36 c['mergeRequests'] = lambda *_: False |
| 37 | 37 |
| 38 m_annotator = annotator_factory.AnnotatorFactory(ActiveMaster) | 38 m_annotator = annotator_factory.AnnotatorFactory(ActiveMaster) |
| 39 | 39 |
| 40 c['builders'] = [] | 40 c['builders'] = [] |
| 41 for platform in ['linux', 'mac', 'win']: | 41 for platform in ['linux', 'mac', 'win']: |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 c['logHorizon'] = 3000 | 102 c['logHorizon'] = 3000 |
| 103 # Must be at least 2x the number of slaves. | 103 # Must be at least 2x the number of slaves. |
| 104 c['eventHorizon'] = 200 | 104 c['eventHorizon'] = 200 |
| 105 | 105 |
| 106 # Adjust the buildCaches to be 3x the number of slaves per builder. | 106 # Adjust the buildCaches to be 3x the number of slaves per builder. |
| 107 c['autoBuildCacheRatio'] = 3 | 107 c['autoBuildCacheRatio'] = 3 |
| 108 | 108 |
| 109 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 109 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| 110 | 110 |
| 111 # vi: set ts=4 sts=2 sw=2 et: | 111 # vi: set ts=4 sts=2 sw=2 et: |
| OLD | NEW |