| 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 27 matching lines...) Expand all Loading... |
| 38 ] | 38 ] |
| 39 cq_pool = distribute_slaves(cq_slaves, cq_builders, 'win7', 'win_cq') | 39 cq_pool = distribute_slaves(cq_slaves, cq_builders, 'win7', 'win_cq') |
| 40 | 40 |
| 41 # Optional CQ builders. Split in two groups because of disk size. | 41 # Optional CQ builders. Split in two groups because of disk size. |
| 42 # Builders using the same checkout directory are grouped together | 42 # Builders using the same checkout directory are grouped together |
| 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: win_upload_clang |
| 49 'win_chromium_clang_upload', | 49 'win_upload_clang', # Needs to be shorter than 17 chars, crbug.com/600465 |
| 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 ] | 53 ] |
| 54 | 54 |
| 55 optional_pool_gn = distribute_slaves( | 55 optional_pool_gn = distribute_slaves( |
| 56 optional_slaves_gn, optional_builders_gn, 'win7', 'win_optional_gn') | 56 optional_slaves_gn, optional_builders_gn, 'win7', 'win_optional_gn') |
| 57 | 57 |
| 58 optional_slaves_chromium = [181, 185, 186, 187, 192] | 58 optional_slaves_chromium = [181, 185, 186, 187, 192] |
| 59 optional_builders_chromium = [ | 59 optional_builders_chromium = [ |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 return ( | 129 return ( |
| 130 cq_pool + | 130 cq_pool + |
| 131 optional_pool + | 131 optional_pool + |
| 132 win8_pool + | 132 win8_pool + |
| 133 win_pgo_pool + | 133 win_pgo_pool + |
| 134 clang_win_pool) | 134 clang_win_pool) |
| 135 | 135 |
| 136 | 136 |
| 137 slaves = windows() | 137 slaves = windows() |
| OLD | NEW |