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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 # Number of builds per pool is supposed to be roughly balanced. | 43 # Number of builds per pool is supposed to be roughly balanced. |
44 optional_slaves_gn = [166, 171, 176, 177] | 44 optional_slaves_gn = [166, 171, 176, 177] |
45 optional_builders_gn = [ | 45 optional_builders_gn = [ |
46 # directory: win_archive | 46 # directory: win_archive |
47 'win_archive', | 47 'win_archive', |
48 # directory: build_and_upload_clang | 48 # directory: build_and_upload_clang |
49 'win_chromium_clang_upload', | 49 'win_chromium_clang_upload', |
50 # directory: win_gn | 50 # directory: win_gn |
51 'win_chromium_gn_x64_dbg', | 51 'win_chromium_gn_x64_dbg', |
52 'win_chromium_gn_x64_rel', | 52 'win_chromium_gn_x64_rel', |
53 # directory: det | |
54 'win_deterministic', | |
55 ] | 53 ] |
56 | 54 |
57 optional_pool_gn = distribute_slaves( | 55 optional_pool_gn = distribute_slaves( |
58 optional_slaves_gn, optional_builders_gn, 'win7', 'win_optional_gn') | 56 optional_slaves_gn, optional_builders_gn, 'win7', 'win_optional_gn') |
59 | 57 |
60 optional_slaves_chromium = [181, 185, 186, 187, 192] | 58 optional_slaves_chromium = [181, 185, 186, 187, 192] |
61 optional_builders_chromium = [ | 59 optional_builders_chromium = [ |
62 # directory: win | 60 # directory: win |
63 'win_chromium_compile_rel_ng', | 61 'win_chromium_compile_rel_ng', |
64 'win_chromium_dbg_ng', | 62 'win_chromium_dbg_ng', |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 128 |
131 return ( | 129 return ( |
132 cq_pool + | 130 cq_pool + |
133 optional_pool + | 131 optional_pool + |
134 win8_pool + | 132 win8_pool + |
135 win_pgo_pool + | 133 win_pgo_pool + |
136 clang_win_pool) | 134 clang_win_pool) |
137 | 135 |
138 | 136 |
139 slaves = windows() | 137 slaves = windows() |
OLD | NEW |