| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright 2015 The Chromium Authors. All rights reserved. | 4 # Copyright 2015 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 import config | 8 import config |
| 9 import master_site_config | 9 import master_site_config |
| 10 | 10 |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 'recipe_simulation', repository=INFRA_REPO_URL, | 210 'recipe_simulation', repository=INFRA_REPO_URL, |
| 211 properties={'repo_under_test': 'depot_tools'}), | 211 properties={'repo_under_test': 'depot_tools'}), |
| 212 'category': 'recipes-continuous', | 212 'category': 'recipes-continuous', |
| 213 }, | 213 }, |
| 214 { | 214 { |
| 215 'name': 'depot_tools zip uploader', | 215 'name': 'depot_tools zip uploader', |
| 216 'slavebuilddir': 'depot_tools_uploader', | 216 'slavebuilddir': 'depot_tools_uploader', |
| 217 'factory': m_remote_run('depot_tools_builder'), | 217 'factory': m_remote_run('depot_tools_builder'), |
| 218 'category': 'depot_tools', | 218 'category': 'depot_tools', |
| 219 }, | 219 }, |
| 220 | |
| 221 { | |
| 222 'name': 'codesearch-submodules-chromium', | |
| 223 'factory': m_remote_run( | |
| 224 'sync_submodules', repository=INFRA_REPO_URL, | |
| 225 properties={'source_repo': CHROMIUM_REPO_URL}), | |
| 226 'category': 'codesearch-submodules', | |
| 227 }, | |
| 228 { | |
| 229 'name': 'codesearch-submodules-infra', | |
| 230 'factory': m_remote_run( | |
| 231 'sync_submodules', repository=INFRA_REPO_URL, | |
| 232 properties={'source_repo': INFRA_REPO_URL}), | |
| 233 'category': 'codesearch-submodules', | |
| 234 }, | |
| 235 { | |
| 236 'name': 'codesearch-submodules-build', | |
| 237 'factory': m_remote_run( | |
| 238 'sync_submodules', repository=INFRA_REPO_URL, | |
| 239 properties={'source_repo': TOOLS_BUILD_URL}), | |
| 240 'category': 'codesearch-submodules', | |
| 241 }, | |
| 242 ]) | 220 ]) |
| 243 | 221 |
| 244 ####### SCHEDULERS | 222 ####### SCHEDULERS |
| 245 | 223 |
| 246 c['schedulers'].extend([ | 224 c['schedulers'].extend([ |
| 247 AnyBranchScheduler( | 225 AnyBranchScheduler( |
| 248 name='infra-scheduler', | 226 name='infra-scheduler', |
| 249 change_filter=ChangeFilter(project=['infra']), | 227 change_filter=ChangeFilter(project=['infra']), |
| 250 treeStableTimer=30, | 228 treeStableTimer=30, |
| 251 builderNames=[ | 229 builderNames=[ |
| 252 'codesearch-submodules-infra', | |
| 253 'infra-continuous-xenial-64', | 230 'infra-continuous-xenial-64', |
| 254 'infra-continuous-wily-64', | 231 'infra-continuous-wily-64', |
| 255 'infra-continuous-trusty-64', | 232 'infra-continuous-trusty-64', |
| 256 'infra-continuous-trusty-64-perf', | 233 'infra-continuous-trusty-64-perf', |
| 257 'infra-continuous-trusty-32', | 234 'infra-continuous-trusty-32', |
| 258 'infra-continuous-precise-64', | 235 'infra-continuous-precise-64', |
| 259 'infra-continuous-precise-32', | 236 'infra-continuous-precise-32', |
| 260 'infra-continuous-mac-10.11-64', | 237 'infra-continuous-mac-10.11-64', |
| 261 'infra-continuous-mac-10.10-64', | 238 'infra-continuous-mac-10.10-64', |
| 262 'infra-continuous-mac-10.9-64', | 239 'infra-continuous-mac-10.9-64', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 ), | 271 ), |
| 295 AnyBranchScheduler( | 272 AnyBranchScheduler( |
| 296 name='depot_tools-scheduler', | 273 name='depot_tools-scheduler', |
| 297 change_filter=ChangeFilter(project=['depot_tools']), | 274 change_filter=ChangeFilter(project=['depot_tools']), |
| 298 treeStableTimer=1, | 275 treeStableTimer=1, |
| 299 builderNames=[ | 276 builderNames=[ |
| 300 'depot_tools zip uploader', | 277 'depot_tools zip uploader', |
| 301 'depot_tools-recipes-tests' | 278 'depot_tools-recipes-tests' |
| 302 ] | 279 ] |
| 303 ), | 280 ), |
| 304 AnyBranchScheduler( | |
| 305 name='chromium-scheduler', | |
| 306 change_filter=ChangeFilter(project=['src']), | |
| 307 treeStableTimer=1, | |
| 308 builderNames=[ | |
| 309 'codesearch-submodules-chromium', | |
| 310 ] | |
| 311 ), | |
| 312 AnyBranchScheduler( | |
| 313 name='build-scheduler', | |
| 314 change_filter=ChangeFilter(project=['build']), | |
| 315 treeStableTimer=1, | |
| 316 builderNames=[ | |
| 317 'codesearch-submodules-build', | |
| 318 ] | |
| 319 ), | |
| 320 ]) | 281 ]) |
| 321 | 282 |
| 322 ####### BUILDSLAVES | 283 ####### BUILDSLAVES |
| 323 | 284 |
| 324 # Associate the slaves to the builders. The configuration is in slaves.cfg. | 285 # Associate the slaves to the builders. The configuration is in slaves.cfg. |
| 325 slaves = slaves_list.SlavesList('slaves.cfg', 'Infra') | 286 slaves = slaves_list.SlavesList('slaves.cfg', 'Infra') |
| 326 for builder in c['builders']: | 287 for builder in c['builders']: |
| 327 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) | 288 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) |
| 328 | 289 |
| 329 # The 'slaves' list defines the set of allowable buildslaves. List all the | 290 # The 'slaves' list defines the set of allowable buildslaves. List all the |
| (...skipping 23 matching lines...) Expand all Loading... |
| 353 relayhost=config.Master.smtp, | 314 relayhost=config.Master.smtp, |
| 354 extraRecipients=['swarming-eng@googlegroups.com'], | 315 extraRecipients=['swarming-eng@googlegroups.com'], |
| 355 ), | 316 ), |
| 356 ]) | 317 ]) |
| 357 | 318 |
| 358 | 319 |
| 359 ####### PROJECT IDENTITY | 320 ####### PROJECT IDENTITY |
| 360 | 321 |
| 361 c['projectName'] = ActiveMaster.project_name | 322 c['projectName'] = ActiveMaster.project_name |
| 362 c['buildbotURL'] = ActiveMaster.buildbot_url | 323 c['buildbotURL'] = ActiveMaster.buildbot_url |
| OLD | NEW |