Source

ash-mozharness / configs / talos / windows_config.py

Full commit
import os
import socket

PYTHON = 'c:/mozilla-build/python27/python'
PYTHON_DLL = 'c:/mozilla-build/python27/python27.dll'
VENV_PATH = 'c:/talos-slave/test/build/venv'

config = {
    "log_name": "talos",
    "buildbot_json_path": "buildprops.json",
    "installer_path": "installer.exe",
    "virtualenv_path": VENV_PATH,
    "virtualenv_python_dll": PYTHON_DLL,
    "pypi_url": "http://repos/python/packages/",
    "find_links": ["http://repos/python/packages/"],
    "pip_index": False,
    "distribute_url": "http://repos/python/packages/distribute-0.6.26.tar.gz",
    "pip_url": "http://repos/python/packages/pip-0.8.2.tar.gz",
    "use_talos_json": True,
    "pywin32_url": "http://repos/python/packages/pywin32-216.win32-py2.7.exe",
    "virtualenv_modules": ['pywin32', 'talos', 'mozinstall'],
    "exes": {
        'python': PYTHON,
        'virtualenv': [PYTHON, 'c:/mozilla-build/buildbotve/virtualenv.py'],
        'easy_install': ['%s/scripts/python' % VENV_PATH,
                         '%s/scripts/easy_install-2.7-script.py' % VENV_PATH],
        'mozinstall': ['%s/scripts/python' % VENV_PATH,
                       '%s/scripts/mozinstall-script.py' % VENV_PATH],
        'hg': 'c:/mozilla-build/hg/hg',
    },
    "title": socket.gethostname().split('.')[0],
    "results_url": "http://graphs.mozilla.org/server/collect.cgi",
    "default_actions": [
        "clobber",
        "read-buildbot-config",
        "download-and-extract",
        "create-virtualenv",
        "install",
        "run-tests",
    ],
    "python_webserver": False,
    "webroot": 'c:/talos-slave/talos-data',
    "populate_webroot": True,
    # Srsly gly? Ys
    "webroot_extract_cmd": r'''c:/mozilla-build/msys/bin/bash -c "PATH=/c/mozilla-build/msys/bin:$PATH tar zx --strip-components=1 -f '%(tarball)s' --wildcards '**/talos/'"''',
}