| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 from buildbot.scheduler import Nightly | 5 from buildbot.scheduler import Nightly |
| 6 from buildbot.schedulers.basic import SingleBranchScheduler | 6 from buildbot.schedulers.basic import SingleBranchScheduler |
| 7 | 7 |
| 8 from master.factory import annotator_factory | 8 from master.factory import annotator_factory |
| 9 from master.factory import remote_run_factory | 9 from master.factory import remote_run_factory |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 m_annotator = annotator_factory.AnnotatorFactory() | 24 m_annotator = annotator_factory.AnnotatorFactory() |
| 25 | 25 |
| 26 | 26 |
| 27 def Update(c): | 27 def Update(c): |
| 28 c['schedulers'].extend([ | 28 c['schedulers'].extend([ |
| 29 SingleBranchScheduler(name='webrtc_linux_scheduler', | 29 SingleBranchScheduler(name='webrtc_linux_scheduler', |
| 30 branch='master', | 30 branch='master', |
| 31 treeStableTimer=0, | 31 treeStableTimer=0, |
| 32 builderNames=[ | 32 builderNames=[ |
| 33 'Linux32 Debug', | |
| 34 'Linux32 Release', | |
| 35 'Linux64 GCC', | 33 'Linux64 GCC', |
| 36 'Linux64 Release (swarming)', | 34 'Linux64 Release (swarming)', |
| 37 ]), | 35 ]), |
| 38 # Run WebRTC DEPS roller at CET hours: 4am, 12pm and 8pm. | 36 # Run WebRTC DEPS roller at CET hours: 4am, 12pm and 8pm. |
| 39 Nightly( | 37 Nightly( |
| 40 name='webrtc_deps', | 38 name='webrtc_deps', |
| 41 branch=None, | 39 branch=None, |
| 42 builderNames=['Auto-roll - WebRTC DEPS'], | 40 builderNames=['Auto-roll - WebRTC DEPS'], |
| 43 hour=[19,3,11], # Pacific timezone. | 41 hour=[19,3,11], # Pacific timezone. |
| 44 ), | 42 ), |
| 45 ]) | 43 ]) |
| 46 | 44 |
| 47 specs = [ | 45 specs = [ |
| 48 {'name': 'Linux32 Debug', 'slavebuilddir': 'linux32'}, | |
| 49 {'name': 'Linux32 Release', 'slavebuilddir': 'linux32'}, | |
| 50 { | 46 { |
| 51 'name': 'Linux64 GCC', | 47 'name': 'Linux64 GCC', |
| 52 'slavebuilddir': 'linux_gcc', | 48 'slavebuilddir': 'linux_gcc', |
| 53 }, | 49 }, |
| 54 { | 50 { |
| 55 'name': 'Linux64 Release (swarming)', | 51 'name': 'Linux64 Release (swarming)', |
| 56 'slavebuilddir': 'linux_swarming', | 52 'slavebuilddir': 'linux_swarming', |
| 57 }, | 53 }, |
| 58 { | 54 { |
| 59 'name': 'Auto-roll - WebRTC DEPS', | 55 'name': 'Auto-roll - WebRTC DEPS', |
| 60 'recipe': 'webrtc/auto_roll_webrtc_deps', | 56 'recipe': 'webrtc/auto_roll_webrtc_deps', |
| 61 'slavebuilddir': 'linux_autoroll', | 57 'slavebuilddir': 'linux_autoroll', |
| 62 }, | 58 }, |
| 63 ] | 59 ] |
| 64 | 60 |
| 65 c['builders'].extend([ | 61 c['builders'].extend([ |
| 66 { | 62 { |
| 67 'name': spec['name'], | 63 'name': spec['name'], |
| 68 'factory': m_annotator.BaseFactory(spec['recipe']) | 64 'factory': m_annotator.BaseFactory(spec['recipe']) |
| 69 if 'recipe' in spec | 65 if 'recipe' in spec |
| 70 else m_remote_run('webrtc/standalone'), | 66 else m_remote_run('webrtc/standalone'), |
| 71 'notify_on_missing': True, | 67 'notify_on_missing': True, |
| 72 'category': 'linux', | 68 'category': 'linux', |
| 73 'slavebuilddir': spec['slavebuilddir'], | 69 'slavebuilddir': spec['slavebuilddir'], |
| 74 'auto_reboot': False, | 70 'auto_reboot': False, |
| 75 } for spec in specs | 71 } for spec in specs |
| 76 ]) | 72 ]) |
| OLD | NEW |