| 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 return [ | 9 return [ |
| 10 { | 10 { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 optional_builders_chromium, | 91 optional_builders_chromium, |
| 92 'win7', | 92 'win7', |
| 93 'win_optional_chromium') | 93 'win_optional_chromium') |
| 94 | 94 |
| 95 optional_pool = optional_pool_chromium + optional_pool_gn | 95 optional_pool = optional_pool_chromium + optional_pool_gn |
| 96 | 96 |
| 97 win8_slaves = ([115, 168, 722, 798, 799] + range(384, 399) + | 97 win8_slaves = ([115, 168, 722, 798, 799] + range(384, 399) + |
| 98 range(408, 422) + range(468, 495) + | 98 range(408, 422) + range(468, 495) + |
| 99 range(724, 738) + range(801, 804)) | 99 range(724, 738) + range(801, 804)) |
| 100 win8_builders = [ | 100 win8_builders = [ |
| 101 'win8_chromium_ng', | 101 'win8_chromium_gyp_rel', |
| 102 'win8_chromium_gn_dbg', | 102 'win8_chromium_gyp_dbg', |
| 103 'win8_chromium_gn_upload', | 103 'win8_chromium_gn_upload', |
| 104 'win10_chromium_x64_rel_ng', | 104 'win10_chromium_x64_rel_ng', |
| 105 ] | 105 ] |
| 106 win8_pool = distribute_slaves(win8_slaves, win8_builders, 'win8', 'win8') | 106 win8_pool = distribute_slaves(win8_slaves, win8_builders, 'win8', 'win8') |
| 107 | 107 |
| 108 win_pgo_pool = [ | 108 win_pgo_pool = [ |
| 109 { | 109 { |
| 110 'master': 'TryServerChromiumWin', | 110 'master': 'TryServerChromiumWin', |
| 111 'builder': ['win_pgo'], | 111 'builder': ['win_pgo'], |
| 112 'hostname': 'build44-m4', | 112 'hostname': 'build44-m4', |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 return ( | 147 return ( |
| 148 cq_pool + | 148 cq_pool + |
| 149 optional_pool + | 149 optional_pool + |
| 150 win8_pool + | 150 win8_pool + |
| 151 win_pgo_pool + | 151 win_pgo_pool + |
| 152 clang_win_pool + | 152 clang_win_pool + |
| 153 experimental_pool) | 153 experimental_pool) |
| 154 | 154 |
| 155 | 155 |
| 156 slaves = windows() | 156 slaves = windows() |
| OLD | NEW |