Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: site_config/slave_hosts_cfg.py

Issue 365613003: Add 4 Windows GCE instances as build slave hosts (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Use the already-existing skia-vm-*** dicts Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « master/slaves.cfg ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 """ This file contains configuration information for the build slave host 1 """ This file contains configuration information for the build slave host
2 machines. """ 2 machines. """
3 3
4 4
5 import collections 5 import collections
6 import ntpath 6 import ntpath
7 import os 7 import os
8 import posixpath 8 import posixpath
9 import sys 9 import sys
10 10
(...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 'slaves': [ 1255 'slaves': [
1256 ('skiabot-linux-sanitizer-000-A', '1'), 1256 ('skiabot-linux-sanitizer-000-A', '1'),
1257 ('skiabot-linux-sanitizer-000-T', '2'), 1257 ('skiabot-linux-sanitizer-000-T', '2'),
1258 ], 1258 ],
1259 'copies': _DEFAULT_COPIES, 1259 'copies': _DEFAULT_COPIES,
1260 'login_cmd': chromecompute_login, 1260 'login_cmd': chromecompute_login,
1261 'ip': NO_IP_ADDR, 1261 'ip': NO_IP_ADDR,
1262 'kvm_num': NO_KVM_NUM, 1262 'kvm_num': NO_KVM_NUM,
1263 'path_module': posixpath, 1263 'path_module': posixpath,
1264 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH, 1264 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH,
1265 'remote_access': False, 1265 'remote_access': GCE_COMPILE_C_ONLINE,
1266 }, 1266 },
1267 1267
1268 'skia-vm-080': { 1268 'skia-vm-080': {
1269 'slaves': [ 1269 'slaves': [
1270 ('skiabot-linux-sanitizer-001-A', '1'), 1270 ('skiabot-linux-sanitizer-001-A', '1'),
1271 ('skiabot-linux-sanitizer-001-T', '2'), 1271 ('skiabot-linux-sanitizer-001-T', '2'),
1272 ], 1272 ],
1273 'copies': _DEFAULT_COPIES, 1273 'copies': _DEFAULT_COPIES,
1274 'login_cmd': chromecompute_login, 1274 'login_cmd': chromecompute_login,
1275 'ip': NO_IP_ADDR, 1275 'ip': NO_IP_ADDR,
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 'copies': _DEFAULT_COPIES, 1490 'copies': _DEFAULT_COPIES,
1491 'login_cmd': chromecompute_login, 1491 'login_cmd': chromecompute_login,
1492 'ip': NO_IP_ADDR, 1492 'ip': NO_IP_ADDR,
1493 'kvm_num': NO_KVM_NUM, 1493 'kvm_num': NO_KVM_NUM,
1494 'path_module': posixpath, 1494 'path_module': posixpath,
1495 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH, 1495 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH,
1496 'remote_access': False, 1496 'remote_access': False,
1497 }, 1497 },
1498 1498
1499 'skia-vm-100': { 1499 'skia-vm-100': {
1500 'slaves': [], 1500 'slaves': [
1501 ('skiabot-win-vm-000', '0'),
1502 ],
1501 'copies': _DEFAULT_COPIES, 1503 'copies': _DEFAULT_COPIES,
1502 'login_cmd': chromecompute_login, 1504 'login_cmd': None,
1503 'ip': NO_IP_ADDR, 1505 'ip': NO_IP_ADDR,
1504 'kvm_num': NO_KVM_NUM, 1506 'kvm_num': NO_KVM_NUM,
1505 'path_module': posixpath, 1507 'path_module': ntpath,
1506 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH, 1508 'path_to_buildbot': ['buildbot'],
1507 'remote_access': False, 1509 'remote_access': False,
1508 }, 1510 },
1509 1511
1510 'skia-vm-101': { 1512 'skia-vm-101': {
1511 'slaves': [], 1513 'slaves': [
1514 ('skiabot-win-vm-001', '0'),
1515 ],
1512 'copies': _DEFAULT_COPIES, 1516 'copies': _DEFAULT_COPIES,
1513 'login_cmd': chromecompute_login, 1517 'login_cmd': None,
1514 'ip': NO_IP_ADDR, 1518 'ip': NO_IP_ADDR,
1515 'kvm_num': NO_KVM_NUM, 1519 'kvm_num': NO_KVM_NUM,
1516 'path_module': posixpath, 1520 'path_module': ntpath,
1517 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH, 1521 'path_to_buildbot': ['buildbot'],
1518 'remote_access': False, 1522 'remote_access': False,
1519 }, 1523 },
1520 1524
1521 'skia-vm-102': { 1525 'skia-vm-102': {
1522 'slaves': [], 1526 'slaves': [
1527 ('skiabot-win-vm-002', '0'),
1528 ],
1523 'copies': _DEFAULT_COPIES, 1529 'copies': _DEFAULT_COPIES,
1524 'login_cmd': chromecompute_login, 1530 'login_cmd': None,
1525 'ip': NO_IP_ADDR, 1531 'ip': NO_IP_ADDR,
1526 'kvm_num': NO_KVM_NUM, 1532 'kvm_num': NO_KVM_NUM,
1527 'path_module': posixpath, 1533 'path_module': ntpath,
1528 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH, 1534 'path_to_buildbot': ['buildbot'],
1529 'remote_access': False, 1535 'remote_access': False,
1530 }, 1536 },
1531 1537
1532 'skia-vm-103': { 1538 'skia-vm-103': {
1533 'slaves': [], 1539 'slaves': [
1540 ('skiabot-win-vm-003', '0'),
1541 ],
1534 'copies': _DEFAULT_COPIES, 1542 'copies': _DEFAULT_COPIES,
1535 'login_cmd': chromecompute_login, 1543 'login_cmd': None,
1536 'ip': NO_IP_ADDR, 1544 'ip': NO_IP_ADDR,
1537 'kvm_num': NO_KVM_NUM, 1545 'kvm_num': NO_KVM_NUM,
1538 'path_module': posixpath, 1546 'path_module': ntpath,
1539 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH, 1547 'path_to_buildbot': ['buildbot'],
1540 'remote_access': False, 1548 'remote_access': False,
1541 }, 1549 },
1542 1550
1543 'skia-vm-104': { 1551 'skia-vm-104': {
1544 'slaves': [], 1552 'slaves': [
1553 ('skiabot-win-vm-004', '0'),
1554 ],
1545 'copies': _DEFAULT_COPIES, 1555 'copies': _DEFAULT_COPIES,
1546 'login_cmd': chromecompute_login, 1556 'login_cmd': None,
1547 'ip': NO_IP_ADDR, 1557 'ip': NO_IP_ADDR,
1548 'kvm_num': NO_KVM_NUM, 1558 'kvm_num': NO_KVM_NUM,
1549 'path_module': posixpath, 1559 'path_module': ntpath,
1550 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH, 1560 'path_to_buildbot': ['buildbot'],
1551 'remote_access': False, 1561 'remote_access': False,
1552 }, 1562 },
1553 1563
1554 'skia-vm-105': { 1564 'skia-vm-105': {
1555 'slaves': [], 1565 'slaves': [
1566 ('skiabot-win-vm-005', '0'),
1567 ],
1556 'copies': _DEFAULT_COPIES, 1568 'copies': _DEFAULT_COPIES,
1557 'login_cmd': chromecompute_login, 1569 'login_cmd': None,
1558 'ip': NO_IP_ADDR, 1570 'ip': NO_IP_ADDR,
1559 'kvm_num': NO_KVM_NUM, 1571 'kvm_num': NO_KVM_NUM,
1560 'path_module': posixpath, 1572 'path_module': ntpath,
1561 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH, 1573 'path_to_buildbot': ['buildbot'],
1562 'remote_access': False, 1574 'remote_access': False,
1563 }, 1575 },
1564 1576
1565 'skia-vm-106': { 1577 'skia-vm-106': {
1566 'slaves': [], 1578 'slaves': [
1579 ('skiabot-win-vm-006', '0'),
1580 ],
1567 'copies': _DEFAULT_COPIES, 1581 'copies': _DEFAULT_COPIES,
1568 'login_cmd': chromecompute_login, 1582 'login_cmd': None,
1569 'ip': NO_IP_ADDR, 1583 'ip': NO_IP_ADDR,
1570 'kvm_num': NO_KVM_NUM, 1584 'kvm_num': NO_KVM_NUM,
1571 'path_module': posixpath, 1585 'path_module': ntpath,
1572 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH, 1586 'path_to_buildbot': ['buildbot'],
1573 'remote_access': False, 1587 'remote_access': False,
1574 }, 1588 },
1575 1589
1576 'skia-vm-107': { 1590 'skia-vm-107': {
1577 'slaves': [], 1591 'slaves': [
1592 ('skiabot-win-vm-007', '0'),
1593 ],
1578 'copies': _DEFAULT_COPIES, 1594 'copies': _DEFAULT_COPIES,
1579 'login_cmd': chromecompute_login, 1595 'login_cmd': None,
1580 'ip': NO_IP_ADDR, 1596 'ip': NO_IP_ADDR,
1581 'kvm_num': NO_KVM_NUM, 1597 'kvm_num': NO_KVM_NUM,
1582 'path_module': posixpath, 1598 'path_module': ntpath,
1583 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH, 1599 'path_to_buildbot': ['buildbot'],
1584 'remote_access': False, 1600 'remote_access': False,
1585 }, 1601 },
1586 1602
1587 'skia-vm-108': { 1603 'skia-vm-108': {
1588 'slaves': [], 1604 'slaves': [
1605 ('skiabot-win-vm-008', '0'),
1606 ],
1589 'copies': _DEFAULT_COPIES, 1607 'copies': _DEFAULT_COPIES,
1590 'login_cmd': chromecompute_login, 1608 'login_cmd': None,
1591 'ip': NO_IP_ADDR, 1609 'ip': NO_IP_ADDR,
1592 'kvm_num': NO_KVM_NUM, 1610 'kvm_num': NO_KVM_NUM,
1593 'path_module': posixpath, 1611 'path_module': ntpath,
1594 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH, 1612 'path_to_buildbot': ['buildbot'],
1595 'remote_access': False, 1613 'remote_access': False,
1596 }, 1614 },
1597 1615
1598 'skia-vm-109': { 1616 'skia-vm-109': {
1599 'slaves': [], 1617 'slaves': [
1618 ('skiabot-win-vm-009', '0'),
1619 ],
1600 'copies': _DEFAULT_COPIES, 1620 'copies': _DEFAULT_COPIES,
1601 'login_cmd': chromecompute_login, 1621 'login_cmd': None,
1602 'ip': NO_IP_ADDR, 1622 'ip': NO_IP_ADDR,
1603 'kvm_num': NO_KVM_NUM, 1623 'kvm_num': NO_KVM_NUM,
1604 'path_module': posixpath, 1624 'path_module': ntpath,
1605 'path_to_buildbot': CHROMECOMPUTE_BUILDBOT_PATH, 1625 'path_to_buildbot': ['buildbot'],
1606 'remote_access': False, 1626 'remote_access': False,
1607 }, 1627 },
1608 1628
1609 'skia-vm-110': { 1629 'skia-vm-110': {
1610 'slaves': [], 1630 'slaves': [],
1611 'copies': _DEFAULT_COPIES, 1631 'copies': _DEFAULT_COPIES,
1612 'login_cmd': chromecompute_login, 1632 'login_cmd': chromecompute_login,
1613 'ip': NO_IP_ADDR, 1633 'ip': NO_IP_ADDR,
1614 'kvm_num': NO_KVM_NUM, 1634 'kvm_num': NO_KVM_NUM,
1615 'path_module': posixpath, 1635 'path_module': posixpath,
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
2009 ('skiabot-win-compile-004', '0'), 2029 ('skiabot-win-compile-004', '0'),
2010 ], 2030 ],
2011 'copies': _DEFAULT_COPIES, 2031 'copies': _DEFAULT_COPIES,
2012 'login_cmd': None, 2032 'login_cmd': None,
2013 'ip': '192.168.1.112', 2033 'ip': '192.168.1.112',
2014 'kvm_num': '2', 2034 'kvm_num': '2',
2015 'path_module': ntpath, 2035 'path_module': ntpath,
2016 'path_to_buildbot': ['buildbot'], 2036 'path_to_buildbot': ['buildbot'],
2017 'remote_access': False, 2037 'remote_access': False,
2018 }, 2038 },
2039
2019 'win8-gtx660-000': { 2040 'win8-gtx660-000': {
2020 'slaves': [ 2041 'slaves': [
2021 ('skiabot-shuttle-win8-gtx660-000', '0'), 2042 ('skiabot-shuttle-win8-gtx660-000', '0'),
2022 ('skiabot-win8-compile-000', '1'), 2043 ('skiabot-win8-compile-000', '1'),
2023 ], 2044 ],
2024 'copies': _DEFAULT_COPIES, 2045 'copies': _DEFAULT_COPIES,
2025 'login_cmd': None, 2046 'login_cmd': None,
2026 'ip': '192.168.1.108', 2047 'ip': '192.168.1.108',
2027 'kvm_num': 'A', 2048 'kvm_num': 'A',
2028 'path_module': ntpath, 2049 'path_module': ntpath,
2029 'path_to_buildbot': ['buildbot'], 2050 'path_to_buildbot': ['buildbot'],
2030 'remote_access': False, 2051 'remote_access': False,
2031 }, 2052 },
2053
2032 'win8-gtx660-001': { 2054 'win8-gtx660-001': {
2033 'slaves': [ 2055 'slaves': [
2034 ('skiabot-shuttle-win8-gtx660-bench', '0'), 2056 ('skiabot-shuttle-win8-gtx660-bench', '0'),
2035 ], 2057 ],
2036 'copies': _DEFAULT_COPIES, 2058 'copies': _DEFAULT_COPIES,
2037 'login_cmd': None, 2059 'login_cmd': None,
2038 'ip': '192.168.1.133', 2060 'ip': '192.168.1.133',
2039 'kvm_num': 'B', 2061 'kvm_num': 'B',
2040 'path_module': ntpath, 2062 'path_module': ntpath,
2041 'path_to_buildbot': ['buildbot'], 2063 'path_to_buildbot': ['buildbot'],
2042 'remote_access': False, 2064 'remote_access': False,
2043 }, 2065 },
2066
2044 'win8-hd7770-000': { 2067 'win8-hd7770-000': {
2045 'slaves': [ 2068 'slaves': [
2046 ('skiabot-shuttle-win8-hd7770-000', '0'), 2069 ('skiabot-shuttle-win8-hd7770-000', '0'),
2047 ('skiabot-win8-compile-001', '1'), 2070 ('skiabot-win8-compile-001', '1'),
2048 ], 2071 ],
2049 'copies': _DEFAULT_COPIES, 2072 'copies': _DEFAULT_COPIES,
2050 'login_cmd': None, 2073 'login_cmd': None,
2051 'ip': '192.168.1.117', 2074 'ip': '192.168.1.117',
2052 'kvm_num': 'C', 2075 'kvm_num': 'C',
2053 'path_module': ntpath, 2076 'path_module': ntpath,
2054 'path_to_buildbot': ['buildbot'], 2077 'path_to_buildbot': ['buildbot'],
2055 'remote_access': False, 2078 'remote_access': False,
2056 }, 2079 },
2080
2057 'win8-hd7770-001': { 2081 'win8-hd7770-001': {
2058 'slaves': [ 2082 'slaves': [
2059 ('skiabot-shuttle-win8-hd7770-bench', '0'), 2083 ('skiabot-shuttle-win8-hd7770-bench', '0'),
2060 ], 2084 ],
2061 'copies': _DEFAULT_COPIES, 2085 'copies': _DEFAULT_COPIES,
2062 'login_cmd': None, 2086 'login_cmd': None,
2063 'ip': '192.168.1.107', 2087 'ip': '192.168.1.107',
2064 'kvm_num': 'D', 2088 'kvm_num': 'D',
2065 'path_module': ntpath, 2089 'path_module': ntpath,
2066 'path_to_buildbot': ['buildbot'], 2090 'path_to_buildbot': ['buildbot'],
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
2117 """Helper function for retrieving slave host configuration information. 2141 """Helper function for retrieving slave host configuration information.
2118 2142
2119 If the given hostname is unknown, returns a default config. 2143 If the given hostname is unknown, returns a default config.
2120 2144
2121 Args: 2145 Args:
2122 hostname: string; the hostname of the slave host machine. 2146 hostname: string; the hostname of the slave host machine.
2123 Returns: 2147 Returns:
2124 SlaveHostConfig instance representing the given host. 2148 SlaveHostConfig instance representing the given host.
2125 """ 2149 """
2126 return SLAVE_HOSTS.get(hostname, default_slave_host_config(hostname)) 2150 return SLAVE_HOSTS.get(hostname, default_slave_host_config(hostname))
OLDNEW
« no previous file with comments | « master/slaves.cfg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698