| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
| 6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
| 7 | 7 |
| 8 from buildbot.scheduler import Scheduler | 8 from buildbot.scheduler import Scheduler |
| 9 from buildbot.schedulers import timed | 9 from buildbot.schedulers import timed |
| 10 from buildbot.status import mail | 10 from buildbot.status import mail |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 c['change_source'] = [master_poller] | 40 c['change_source'] = [master_poller] |
| 41 | 41 |
| 42 ####### SCHEDULERS | 42 ####### SCHEDULERS |
| 43 | 43 |
| 44 s_chromium_swarm = Scheduler(name='experimental', | 44 s_chromium_swarm = Scheduler(name='experimental', |
| 45 branch='master', | 45 branch='master', |
| 46 treeStableTimer=60, | 46 treeStableTimer=60, |
| 47 builderNames=['Linux Swarm', | 47 builderNames=['Linux Swarm', |
| 48 'Android Swarm', | 48 'Android Swarm', |
| 49 'Windows Swarm', | |
| 50 'Mac Swarm', | 49 'Mac Swarm', |
| 51 'Linux deterministic', | 50 'Linux deterministic']) |
| 52 'Windows deterministic', | |
| 53 'Windows Clang deterministic', | |
| 54 'Mac deterministic', | |
| 55 'Android deterministic']) | |
| 56 | 51 |
| 57 s_heartbeat = timed.Periodic( | 52 s_heartbeat = timed.Periodic( |
| 58 name='heartbeat', builderNames=['Heartbeat', 'Heartbeat Canary'], | 53 name='heartbeat', builderNames=['Heartbeat', 'Heartbeat Canary'], |
| 59 periodicBuildTimer=60) | 54 periodicBuildTimer=60) |
| 60 | 55 |
| 61 c['schedulers'] = [s_chromium_swarm, s_heartbeat] | 56 c['schedulers'] = [s_chromium_swarm, s_heartbeat] |
| 62 | 57 |
| 63 | 58 |
| 64 # ---------------------------------------------------------------------------- | 59 # ---------------------------------------------------------------------------- |
| 65 # BUILDER DEFINITIONS | 60 # BUILDER DEFINITIONS |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 } | 107 } |
| 113 | 108 |
| 114 b_chromium_android_swarm = { | 109 b_chromium_android_swarm = { |
| 115 'name': 'Android Swarm', | 110 'name': 'Android Swarm', |
| 116 'factory': annotator_factory.AnnotatorFactory().BaseFactory( | 111 'factory': annotator_factory.AnnotatorFactory().BaseFactory( |
| 117 'swarming/staging', | 112 'swarming/staging', |
| 118 factory_properties={'configuration': 'Release', 'platform': 'android'}), | 113 factory_properties={'configuration': 'Release', 'platform': 'android'}), |
| 119 'category': 'swarming', | 114 'category': 'swarming', |
| 120 } | 115 } |
| 121 | 116 |
| 122 | |
| 123 b_chromium_win_swarm = { | |
| 124 'name': 'Windows Swarm', | |
| 125 'factory': Recipe('Release'), | |
| 126 # Auto-reboot on windows to try to clear up TEMP fill up issues. | |
| 127 'auto_reboot': True, | |
| 128 'category': 'swarming', | |
| 129 } | |
| 130 | |
| 131 b_chromium_mac_swarm = { | 117 b_chromium_mac_swarm = { |
| 132 'name': 'Mac Swarm', | 118 'name': 'Mac Swarm', |
| 133 'factory': Recipe('Release'), | 119 'factory': Recipe('Release'), |
| 134 'category': 'swarming', | 120 'category': 'swarming', |
| 135 } | 121 } |
| 136 | 122 |
| 137 b_win_deterministic_build = DeterministicBuilder('Windows') | |
| 138 b_win_clang_deterministic_build = DeterministicBuilder('Windows Clang') | |
| 139 b_linux_deterministic_build = DeterministicBuilder('Linux') | 123 b_linux_deterministic_build = DeterministicBuilder('Linux') |
| 140 b_mac_deterministic_build = DeterministicBuilder('Mac') | |
| 141 b_android_deterministic_build = DeterministicBuilder('Android') | |
| 142 | 124 |
| 143 c['builders'] = [ | 125 c['builders'] = [ |
| 144 b_heartbeat, | 126 b_heartbeat, |
| 145 b_heartbeat_staging, | 127 b_heartbeat_staging, |
| 146 b_chromium_linux_swarm, | 128 b_chromium_linux_swarm, |
| 147 b_chromium_android_swarm, | 129 b_chromium_android_swarm, |
| 148 b_chromium_win_swarm, | |
| 149 b_chromium_mac_swarm, | 130 b_chromium_mac_swarm, |
| 150 b_win_deterministic_build, | |
| 151 b_win_clang_deterministic_build, | |
| 152 b_linux_deterministic_build, | 131 b_linux_deterministic_build, |
| 153 b_mac_deterministic_build, | |
| 154 b_android_deterministic_build, | |
| 155 ] | 132 ] |
| 156 | 133 |
| 157 # Associate the slaves to the builders. The configuration is in slaves.cfg. | 134 # Associate the slaves to the builders. The configuration is in slaves.cfg. |
| 158 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumSwarm') | 135 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumSwarm') |
| 159 for builder in c['builders']: | 136 for builder in c['builders']: |
| 160 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) | 137 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) |
| 161 | 138 |
| 162 | 139 |
| 163 ####### BUILDSLAVES | 140 ####### BUILDSLAVES |
| 164 | 141 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 181 public_html="../master.chromium/public_html", | 158 public_html="../master.chromium/public_html", |
| 182 templates=['../master.chromium/templates'], | 159 templates=['../master.chromium/templates'], |
| 183 tagComparator=master_poller.comparator, | 160 tagComparator=master_poller.comparator, |
| 184 enable_http_status_push=ActiveMaster.is_production_host) | 161 enable_http_status_push=ActiveMaster.is_production_host) |
| 185 | 162 |
| 186 | 163 |
| 187 ####### PROJECT IDENTITY | 164 ####### PROJECT IDENTITY |
| 188 | 165 |
| 189 c['projectName'] = ActiveMaster.project_name | 166 c['projectName'] = ActiveMaster.project_name |
| 190 c['projectURL'] = config.Master.project_url | 167 c['projectURL'] = config.Master.project_url |
| OLD | NEW |