| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 pools['gpu'].extend([builder['name'] for builder in c['builders']]) | 85 pools['gpu'].extend([builder['name'] for builder in c['builders']]) |
| 86 | 86 |
| 87 code_review_sites = {'chrome': ActiveMaster.code_review_site } | 87 code_review_sites = {'chrome': ActiveMaster.code_review_site } |
| 88 | 88 |
| 89 if LISTEN_TO_RIETVELD or True: | 89 if LISTEN_TO_RIETVELD or True: |
| 90 c['schedulers'].append(TryJobRietveld( | 90 c['schedulers'].append(TryJobRietveld( |
| 91 name='try_job_rietveld', | 91 name='try_job_rietveld', |
| 92 code_review_sites=code_review_sites, | 92 code_review_sites=code_review_sites, |
| 93 pools=pools, | 93 pools=pools, |
| 94 project='chrome', | 94 project='chrome', |
| 95 filter_master=True, | 95 filter_master=True)) |
| 96 cachepath=os.path.join(os.getcwd(), 'try_job_rietveld.json'), | |
| 97 cache_processed_jobs=True)) | |
| 98 | 96 |
| 99 # Triggerable schedulers for GPU testers. | 97 # Triggerable schedulers for GPU testers. |
| 100 for gpu_builder_name, triggers in gpu_triggers.iteritems(): | 98 for gpu_builder_name, triggers in gpu_triggers.iteritems(): |
| 101 c['schedulers'].append(Triggerable( | 99 c['schedulers'].append(Triggerable( |
| 102 name=gpu_builder_name, | 100 name=gpu_builder_name, |
| 103 builderNames=triggers)) | 101 builderNames=triggers)) |
| 104 | 102 |
| 105 # Buildbot master url: | 103 # Buildbot master url: |
| 106 # Must come before AutoSetupMaster(). | 104 # Must come before AutoSetupMaster(). |
| 107 if ActiveMaster.is_production_host: | 105 if ActiveMaster.is_production_host: |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 # Must be at least 2x the number of slaves. | 160 # Must be at least 2x the number of slaves. |
| 163 c['eventHorizon'] = 200 | 161 c['eventHorizon'] = 200 |
| 164 c['logCompressionLimit'] = False | 162 c['logCompressionLimit'] = False |
| 165 | 163 |
| 166 # Adjust the buildCaches to be 3x the number of slaves per builder. | 164 # Adjust the buildCaches to be 3x the number of slaves per builder. |
| 167 c['autoBuildCacheRatio'] = 3 | 165 c['autoBuildCacheRatio'] = 3 |
| 168 | 166 |
| 169 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 167 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| 170 | 168 |
| 171 # vi: set ts=4 sts=2 sw=2 et: | 169 # vi: set ts=4 sts=2 sw=2 et: |
| OLD | NEW |