# -*- python -*-
# ex: set syntax=python:

# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# See master.experimental/slaves.cfg for documentation.


real_slaves = [
  {
    'master': 'ChromiumSwarm',
    'builder': 'Linux Swarm Tests',
    'hostname': 'vm323-m1',
    'os': 'linux',
    'version': 'lucid',
    'bits': '64',
  },
  {
    'master': 'ChromiumSwarm',
    'builder': 'Linux Isolate Tests',
    'hostname': 'vm324-m1',
    'os': 'linux',
    'version': 'lucid',
    'bits': '64',
  },
  {
    'master': 'ChromiumSwarm',
    'builder': 'Windows Swarm Tests',
    'hostname': 'vm836-m1',
    'os': 'win',
    'version': 'win7',
    'bits': '64',
  },
  {
    'master': 'ChromiumSwarm',
    'builder': 'Windows Isolate Tests',
    'hostname': 'vm882-m1',
    'os': 'win',
    'version': 'win7',
    'bits': '64',
  },
  {
    'master': 'ChromiumSwarm',
    'builder': 'Mac Swarm Tests',
    'hostname': 'mini10-m1',
    'os': 'mac',
    'version': '10.6',
    'bits': '64',
  },
  {
    'master': 'ChromiumSwarm',
    'builder': 'Mac Isolate Tests',
    'hostname': 'mini14-m1',
    'os': 'mac',
    'version': '10.6',
    'bits': '64',
  },

]

win_slaves = [
  {
    'master': 'ChromiumSwarmSlaves',
    'hostname': 'vm%d-m1' % i,
    'builder': 'win',
    'os': 'win',
    'version': 'win7',
    'bits': '64',
  } for i in range(300, 308) + range(315, 323)
]

linux_slaves = [
  {
    'master': 'ChromiumSwarmSlaves',
    'hostname': 'vm%d-m1' % i,
    'builder': 'linux',
    'os': 'linux',
    'version': 'lucid',
    'bits': '64',
  } for i in range(308, 315) + range(325, 330)
]

mac_vm_slaves = [
  {
    'master': 'ChromiumSwarmSlaves',
    'hostname': 'vm%d-m1' % i,
    'builder': 'mac',
    'os': 'mac',
    'version': '10.6',
    'bits': '64',
  } for i in [625, 637, 638, 639, 648]
]

slaves = (real_slaves + win_slaves + linux_slaves + mac_vm_slaves)
