| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 pools['blink'].extend([builder['name'] for builder in c['builders']]) | 94 pools['blink'].extend([builder['name'] for builder in c['builders']]) |
| 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'), | |
| 106 cache_processed_jobs=True)) | |
| 107 | 105 |
| 108 # Buildbot master url: | 106 # Buildbot master url: |
| 109 # Must come before AutoSetupMaster(). | 107 # Must come before AutoSetupMaster(). |
| 110 if ActiveMaster.is_production_host: | 108 if ActiveMaster.is_production_host: |
| 111 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.blink/' | 109 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.blink/' |
| 112 else: | 110 else: |
| 113 c['buildbotURL'] = 'http://%s:%d/' % ( | 111 c['buildbotURL'] = 'http://%s:%d/' % ( |
| 114 socket.getfqdn(), ActiveMaster.master_port) | 112 socket.getfqdn(), ActiveMaster.master_port) |
| 115 | 113 |
| 116 # Adds common status and tools to this master. | 114 # Adds common status and tools to this master. |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 # Must be at least 2x the number of slaves. | 163 # Must be at least 2x the number of slaves. |
| 166 c['eventHorizon'] = 200 | 164 c['eventHorizon'] = 200 |
| 167 c['logCompressionLimit'] = False | 165 c['logCompressionLimit'] = False |
| 168 | 166 |
| 169 # Adjust the buildCaches to be 3x the number of slaves per builder. | 167 # Adjust the buildCaches to be 3x the number of slaves per builder. |
| 170 c['autoBuildCacheRatio'] = 3 | 168 c['autoBuildCacheRatio'] = 3 |
| 171 | 169 |
| 172 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 170 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| 173 | 171 |
| 174 # vi: set ts=4 sts=2 sw=2 et: | 172 # vi: set ts=4 sts=2 sw=2 et: |
| OLD | NEW |