OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 """ Monkeypatches to override upstream code. """ | 6 """ Monkeypatches to override upstream code. """ |
7 | 7 |
8 | 8 |
9 from buildbot.process.properties import Properties | 9 from buildbot.process.properties import Properties |
10 from buildbot.schedulers.trysched import BadJobfile | 10 from buildbot.schedulers.trysched import BadJobfile |
(...skipping 14 matching lines...) Expand all Loading... |
25 from twisted.internet import defer | 25 from twisted.internet import defer |
26 from twisted.python import log | 26 from twisted.python import log |
27 from twisted.web import server | 27 from twisted.web import server |
28 | 28 |
29 import config_private | 29 import config_private |
30 import json | 30 import json |
31 import utils | 31 import utils |
32 | 32 |
33 | 33 |
34 CQ_TRYBOTS = [ | 34 CQ_TRYBOTS = [ |
35 'Skia_MacMiniLion_Float_Compile_Release_32_Trybot', | 35 'Build-Mac10.7-Clang-x86-Release-Trybot', |
36 'Skia_Shuttle_Ubuntu12_ATI5770_Float_Compile_Release_64_Trybot', | 36 'Build-Ubuntu12-GCC-x86_64-Release-Trybot', |
37 # 'Skia_Shuttle_Win7_Intel_Float_Compile_Release_32_Trybot', | 37 # 'Build-Win7-VS2010-x86-Release-Trybot', |
38 ] | 38 ] |
39 | 39 |
40 ################################################################################ | 40 ################################################################################ |
41 ############################# Trybot Monkeypatches ############################# | 41 ############################# Trybot Monkeypatches ############################# |
42 ################################################################################ | 42 ################################################################################ |
43 | 43 |
44 | 44 |
45 @defer.deferredGenerator | 45 @defer.deferredGenerator |
46 def SubmitTryJobChanges(self, changes): | 46 def SubmitTryJobChanges(self, changes): |
47 """ Override of SVNPoller.submit_changes: | 47 """ Override of SVNPoller.submit_changes: |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 # seconds is too short for us. The RietveldPoller stops working if the time is | 355 # seconds is too short for us. The RietveldPoller stops working if the time is |
356 # too short. | 356 # too short. |
357 self._poller = try_job_rietveld._RietveldPoller(endpoint, interval=60) | 357 self._poller = try_job_rietveld._RietveldPoller(endpoint, interval=60) |
358 ################################################################################ | 358 ################################################################################ |
359 self._valid_users = try_job_rietveld._ValidUserPoller(interval=12 * 60 * 60) | 359 self._valid_users = try_job_rietveld._ValidUserPoller(interval=12 * 60 * 60) |
360 self._project = project | 360 self._project = project |
361 log.msg('TryJobRietveld created, get_pending_endpoint=%s ' | 361 log.msg('TryJobRietveld created, get_pending_endpoint=%s ' |
362 'project=%s' % (endpoint, project)) | 362 'project=%s' % (endpoint, project)) |
363 | 363 |
364 try_job_rietveld.TryJobRietveld.__init__ = TryJobRietveldConstructor | 364 try_job_rietveld.TryJobRietveld.__init__ = TryJobRietveldConstructor |
OLD | NEW |