OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 # | 3 # |
4 # Use of this source code is governed by a BSD-style license | 4 # Use of this source code is governed by a BSD-style license |
5 # that can be found in the LICENSE file in the root of the source | 5 # that can be found in the LICENSE file in the root of the source |
6 # tree. An additional intellectual property rights grant can be found | 6 # tree. An additional intellectual property rights grant can be found |
7 # in the file PATENTS. All contributing project authors may | 7 # in the file PATENTS. All contributing project authors may |
8 # be found in the AUTHORS file in the root of the source tree. | 8 # be found in the AUTHORS file in the root of the source tree. |
9 | 9 |
10 import os | 10 import os |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 code_review_sites = {'webrtc': ActiveMaster.code_review_site} | 259 code_review_sites = {'webrtc': ActiveMaster.code_review_site} |
260 | 260 |
261 c['schedulers'].append(TryJobHTTP( | 261 c['schedulers'].append(TryJobHTTP( |
262 name='webrtc_try_job_http', | 262 name='webrtc_try_job_http', |
263 port=ActiveMaster.try_job_port, | 263 port=ActiveMaster.try_job_port, |
264 last_good_urls=last_good_urls, | 264 last_good_urls=last_good_urls, |
265 code_review_sites=code_review_sites, | 265 code_review_sites=code_review_sites, |
266 pools=pools)) | 266 pools=pools)) |
267 | 267 |
268 if LISTEN_TO_RIETVELD: | 268 if LISTEN_TO_RIETVELD: |
269 # TODO(kjellander): Set cache_processed_jobs=True when the caching Rietveld | |
270 # poller has proven to be stable. | |
271 c['schedulers'].append(TryJobRietveld( | 269 c['schedulers'].append(TryJobRietveld( |
272 name='try_job_rietveld', | 270 name='try_job_rietveld', |
273 last_good_urls=last_good_urls, | 271 last_good_urls=last_good_urls, |
274 code_review_sites=code_review_sites, | 272 code_review_sites=code_review_sites, |
275 pools=pools, | 273 pools=pools, |
276 project='webrtc', | 274 project='webrtc')) |
277 cachepath=os.path.join(os.getcwd(), 'try_job_rietveld.json'))) | |
278 | 275 |
279 if LISTEN_TO_SVN: | 276 if LISTEN_TO_SVN: |
280 from master.try_job_svn import TryJobSubversion | 277 from master.try_job_svn import TryJobSubversion |
281 c['schedulers'].append(TryJobSubversion( | 278 c['schedulers'].append(TryJobSubversion( |
282 name='webrtc_try_job_svn', | 279 name='webrtc_try_job_svn', |
283 svn_url=ActiveMaster.svn_url, | 280 svn_url=ActiveMaster.svn_url, |
284 last_good_urls=last_good_urls, | 281 last_good_urls=last_good_urls, |
285 code_review_sites=code_review_sites, | 282 code_review_sites=code_review_sites, |
286 pools=pools)) | 283 pools=pools)) |
287 | 284 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 # Must be at least 2x the number of slaves. | 328 # Must be at least 2x the number of slaves. |
332 c['eventHorizon'] = 100 | 329 c['eventHorizon'] = 100 |
333 # Must be at least 2x the number of on-going builds. | 330 # Must be at least 2x the number of on-going builds. |
334 c['buildCacheSize'] = 100 | 331 c['buildCacheSize'] = 100 |
335 | 332 |
336 ####### PROJECT IDENTITY | 333 ####### PROJECT IDENTITY |
337 | 334 |
338 # The 'projectURL' string will be used to provide a link | 335 # The 'projectURL' string will be used to provide a link |
339 # from buildbot HTML pages to your project's home page. | 336 # from buildbot HTML pages to your project's home page. |
340 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 337 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
OLD | NEW |