| 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'))) | 275 cachepath=os.path.join(os.getcwd(), 'try_job_rietveld.json'))) |
| 278 | 276 |
| 279 if LISTEN_TO_SVN: | 277 if LISTEN_TO_SVN: |
| 280 from master.try_job_svn import TryJobSubversion | 278 from master.try_job_svn import TryJobSubversion |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 # Must be at least 2x the number of slaves. | 329 # Must be at least 2x the number of slaves. |
| 332 c['eventHorizon'] = 100 | 330 c['eventHorizon'] = 100 |
| 333 # Must be at least 2x the number of on-going builds. | 331 # Must be at least 2x the number of on-going builds. |
| 334 c['buildCacheSize'] = 100 | 332 c['buildCacheSize'] = 100 |
| 335 | 333 |
| 336 ####### PROJECT IDENTITY | 334 ####### PROJECT IDENTITY |
| 337 | 335 |
| 338 # The 'projectURL' string will be used to provide a link | 336 # The 'projectURL' string will be used to provide a link |
| 339 # from buildbot HTML pages to your project's home page. | 337 # from buildbot HTML pages to your project's home page. |
| 340 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 338 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| OLD | NEW |