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