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'))) |
Paweł Hajdan Jr.
2014/06/16 10:37:30
Do we still need cachepath with the new poller?
| |
106 cache_processed_jobs=True)) | |
107 | 106 |
108 # Buildbot master url: | 107 # Buildbot master url: |
109 # Must come before AutoSetupMaster(). | 108 # Must come before AutoSetupMaster(). |
110 if ActiveMaster.is_production_host: | 109 if ActiveMaster.is_production_host: |
111 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.blink/' | 110 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.blink/' |
112 else: | 111 else: |
113 c['buildbotURL'] = 'http://%s:%d/' % ( | 112 c['buildbotURL'] = 'http://%s:%d/' % ( |
114 socket.getfqdn(), ActiveMaster.master_port) | 113 socket.getfqdn(), ActiveMaster.master_port) |
115 | 114 |
116 # Adds common status and tools to this master. | 115 # 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. | 164 # Must be at least 2x the number of slaves. |
166 c['eventHorizon'] = 200 | 165 c['eventHorizon'] = 200 |
167 c['logCompressionLimit'] = False | 166 c['logCompressionLimit'] = False |
168 | 167 |
169 # Adjust the buildCaches to be 3x the number of slaves per builder. | 168 # Adjust the buildCaches to be 3x the number of slaves per builder. |
170 c['autoBuildCacheRatio'] = 3 | 169 c['autoBuildCacheRatio'] = 3 |
171 | 170 |
172 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 171 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
173 | 172 |
174 # vi: set ts=4 sts=2 sw=2 et: | 173 # vi: set ts=4 sts=2 sw=2 et: |
OLD | NEW |