| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 # Copyright 2014 The Chromium Authors. All rights reserved. | 3 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 def distribute_slaves(slave_numbers, builders, os_ver, pool=None, gce=False): | 7 def distribute_slaves(slave_numbers, builders, os_ver, pool=None, gce=False): |
| 8 hostname_format = 'vm%d-m4' if not gce else 'slave%d-c4' | 8 hostname_format = 'vm%d-m4' if not gce else 'slave%d-c4' |
| 9 preference = slave_numbers >= builders | 9 preference = slave_numbers >= builders |
| 10 return [ | 10 return [ |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 optional_slaves = [177, 187, 192] | 38 optional_slaves = [177, 187, 192] |
| 39 optional_builders = [ | 39 optional_builders = [ |
| 40 'win_archive', | 40 'win_archive', |
| 41 'win_chromium_compile_rel_ng', | 41 'win_chromium_compile_rel_ng', |
| 42 'win_chromium_dbg_ng', | 42 'win_chromium_dbg_ng', |
| 43 'win_chromium_gn_x64_dbg', | 43 'win_chromium_gn_x64_dbg', |
| 44 'win_chromium_gn_x64_rel', | 44 'win_chromium_gn_x64_rel', |
| 45 'win_chromium_syzyasan_rel', | 45 'win_chromium_syzyasan_rel', |
| 46 'win_chromium_variable', | 46 'win_chromium_variable', |
| 47 'win_chromium_vista_rel_ng', | |
| 48 'win_chromium_xp_rel_ng', | |
| 49 'win_deterministic', | 47 'win_deterministic', |
| 50 'win_nacl_sdk', | 48 'win_nacl_sdk', |
| 51 'win_nacl_sdk_build', | 49 'win_nacl_sdk_build', |
| 52 'win_optional_gpu_tests_rel', | 50 'win_optional_gpu_tests_rel', |
| 53 ] | 51 ] |
| 54 optional_pool = distribute_slaves( | 52 optional_pool = distribute_slaves( |
| 55 optional_slaves, optional_builders, 'win7', 'win_optional') | 53 optional_slaves, optional_builders, 'win7', 'win_optional') |
| 56 | 54 |
| 57 win8_slaves = ([115, 168, 722, 798, 799] + range(384, 399) + | 55 win8_slaves = ([115, 168, 722, 798, 799] + range(384, 399) + |
| 58 range(408, 422) + range(468, 495) + | 56 range(408, 422) + range(468, 495) + |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 cq_pool + | 110 cq_pool + |
| 113 optional_pool + | 111 optional_pool + |
| 114 win8_pool + | 112 win8_pool + |
| 115 win10_pool + | 113 win10_pool + |
| 116 win_pgo_pool + | 114 win_pgo_pool + |
| 117 experimental_pool + | 115 experimental_pool + |
| 118 clang_win_pool) | 116 clang_win_pool) |
| 119 | 117 |
| 120 | 118 |
| 121 slaves = windows() | 119 slaves = windows() |
| OLD | NEW |