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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 code_review_sites = {'blink': ActiveMaster.code_review_site} | 96 code_review_sites = {'blink': ActiveMaster.code_review_site} |
97 | 97 |
98 if LISTEN_TO_RIETVELD: | 98 if LISTEN_TO_RIETVELD: |
99 c['schedulers'].append(TryJobRietveld( | 99 c['schedulers'].append(TryJobRietveld( |
100 name='try_job_rietveld', | 100 name='try_job_rietveld', |
101 pools=pools, | 101 pools=pools, |
102 code_review_sites=code_review_sites, | 102 code_review_sites=code_review_sites, |
103 project='blink', | 103 project='blink', |
104 filter_master=True, | 104 filter_master=True, |
105 cachepath=os.path.join(os.getcwd(), 'try_job_rietveld.json'))) | 105 cachepath=os.path.join(os.getcwd(), 'try_job_rietveld.json'), |
| 106 cache_processed_jobs=True)) |
106 | 107 |
107 # Buildbot master url: | 108 # Buildbot master url: |
108 # Must come before AutoSetupMaster(). | 109 # Must come before AutoSetupMaster(). |
109 if ActiveMaster.is_production_host: | 110 if ActiveMaster.is_production_host: |
110 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.blink/' | 111 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.blink/' |
111 else: | 112 else: |
112 c['buildbotURL'] = 'http://%s:%d/' % ( | 113 c['buildbotURL'] = 'http://%s:%d/' % ( |
113 socket.getfqdn(), ActiveMaster.master_port) | 114 socket.getfqdn(), ActiveMaster.master_port) |
114 | 115 |
115 # Adds common status and tools to this master. | 116 # Adds common status and tools to this master. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 # Must be at least 2x the number of slaves. | 165 # Must be at least 2x the number of slaves. |
165 c['eventHorizon'] = 200 | 166 c['eventHorizon'] = 200 |
166 c['logCompressionLimit'] = False | 167 c['logCompressionLimit'] = False |
167 | 168 |
168 # Adjust the buildCaches to be 3x the number of slaves per builder. | 169 # Adjust the buildCaches to be 3x the number of slaves per builder. |
169 c['autoBuildCacheRatio'] = 3 | 170 c['autoBuildCacheRatio'] = 3 |
170 | 171 |
171 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 172 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
172 | 173 |
173 # vi: set ts=4 sts=2 sw=2 et: | 174 # vi: set ts=4 sts=2 sw=2 et: |
OLD | NEW |