| 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 # See master.experimental/slaves.cfg for documentation. | 7 # See master.experimental/slaves.cfg for documentation. |
| 8 | 8 |
| 9 def linux(): | 9 def linux(): |
| 10 chromeos_boards = ('x86-generic', 'amd64-generic', 'daisy') | 10 chromeos_boards = ('x86-generic', 'amd64-generic', 'daisy') |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 result.append({ | 184 result.append({ |
| 185 'master': 'TryServerChromiumLinux', | 185 'master': 'TryServerChromiumLinux', |
| 186 'os': 'linux', | 186 'os': 'linux', |
| 187 'version': 'trusty', | 187 'version': 'trusty', |
| 188 'bits': 64, | 188 'bits': 64, |
| 189 'builder': ['linux_chromium_headless_rel'], | 189 'builder': ['linux_chromium_headless_rel'], |
| 190 'hostname': 'slave%d-c4' % slave, | 190 'hostname': 'slave%d-c4' % slave, |
| 191 'pool': 'linux_chromium_headless_rel', | 191 'pool': 'linux_chromium_headless_rel', |
| 192 }) | 192 }) |
| 193 | 193 |
| 194 # Trusty |
| 195 trusty_slaves = range(1102, 1201) |
| 196 trusty_builders = [ |
| 197 'linux_chromium_compile_trusty_dbg_32_ng', |
| 198 'linux_chromium_trusty_dbg_32_ng', |
| 199 'linux_chromium_compile_trusty_rel_ng', |
| 200 'linux_chromium_compile_trusty_dbg_ng', |
| 201 'linux_chromium_trusty_rel_ng', |
| 202 'linux_chromium_trusty_dbg_ng', |
| 203 'cast_shell_linux_trusty', |
| 204 ] |
| 205 for i, slave in enumerate(trusty_slaves): |
| 206 result.append({ |
| 207 'master': 'TryServerChromiumLinux', |
| 208 'os': 'linux', |
| 209 'version': 'trusty', |
| 210 'bits': '64', |
| 211 'builder': trusty_builders, |
| 212 'preferred_builder': trusty_builders[i % len(trusty_builders)], |
| 213 'hostname': 'slave%d-c4' % slave, |
| 214 'pool': 'linux_trusty', |
| 215 }) |
| 216 # TODO(yyanagisawa): split builders to CQ and non-CQ. |
| 217 |
| 194 return result | 218 return result |
| 195 | 219 |
| 196 | 220 |
| 197 slaves = linux() | 221 slaves = linux() |
| OLD | NEW |