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