| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright 2014 The Chromium Authors. All rights reserved. | 4 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
| 6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
| 7 | 7 |
| 8 # See master.experimental/slaves.cfg for documentation. | 8 # See master.experimental/slaves.cfg for documentation. |
| 9 | 9 |
| 10 | 10 |
| 11 hostname_builder_map = {} | 11 hostname_builder_map = {} |
| 12 def BuilderConfig(builder_name, *hostnames): | 12 def BuilderConfig(builder_name, *hostnames): |
| 13 for hostname in hostnames: | 13 for hostname in hostnames: |
| 14 hostname_builder_map.setdefault('build%d-m2' % (hostname,), []).append( | 14 hostname_builder_map.setdefault('build%d-m2' % (hostname,), []).append( |
| 15 builder_name) | 15 builder_name) |
| 16 | 16 |
| 17 MASTER='ChromiumOSChromium' | 17 MASTER='ChromiumOSChromium' |
| 18 BuilderConfig('x86-generic-telemetry', 245) | 18 BuilderConfig('x86-generic-telemetry', 245) |
| 19 BuilderConfig('amd64-generic-telemetry', 246) | 19 BuilderConfig('amd64-generic-telemetry', 246) |
| 20 BuilderConfig('x86-generic-tot-asan-informational', 247) | |
| 21 BuilderConfig('amd64-generic-tot-asan-informational', 330) | 20 BuilderConfig('amd64-generic-tot-asan-informational', 330) |
| 22 BuilderConfig('x86-generic-tot-chromium-pfq-informational', 252) | 21 BuilderConfig('x86-generic-tot-chromium-pfq-informational', 252) |
| 23 BuilderConfig('amd64-generic-tot-chromium-pfq-informational', 250) | 22 BuilderConfig('amd64-generic-tot-chromium-pfq-informational', 250) |
| 24 BuilderConfig('daisy-tot-chromium-pfq-informational', 251) | 23 BuilderConfig('daisy-tot-chromium-pfq-informational', 251) |
| 25 BuilderConfig('amd64-generic-tot-chromium-pfq-informational-gn', 118) | 24 BuilderConfig('amd64-generic-tot-chromium-pfq-informational-gn', 118) |
| 26 | 25 |
| 27 slaves = [] | 26 slaves = [] |
| 28 for hostname, builders in hostname_builder_map.iteritems(): | 27 for hostname, builders in hostname_builder_map.iteritems(): |
| 29 slaves.append({'master': MASTER, | 28 slaves.append({'master': MASTER, |
| 30 'builder': builders, | 29 'builder': builders, |
| 31 'hostname': hostname, | 30 'hostname': hostname, |
| 32 'os': 'linux', | 31 'os': 'linux', |
| 33 'version': 'precise'}) | 32 'version': 'precise'}) |
| OLD | NEW |