testing/mozharness/configs/talos/linux64_config_taskcluster.py
author Mike Hommey <mh+mozilla@glandium.org>
Fri, 21 Dec 2018 19:31:34 +0000
changeset 508877 48b059d9a1de4540d2ce9f92abf9eb058c188cf1
parent 475137 3b9d55ec305565977c6d3adfe7f4eef0dd950bdf
permissions -rw-r--r--
Bug 1514400 - Download minidump_stackwalk by default. r=ahal As of bug 1513157, minidump_stackwalk is not installed in the test docker images, so it needs to be downloaded. Differential Revision: https://phabricator.services.mozilla.com/D14644

import os
import platform
import sys

PYTHON = sys.executable
VENV_PATH = '%s/build/venv' % os.getcwd()

if platform.architecture()[0] == '64bit':
    TOOLTOOL_MANIFEST_PATH = "config/tooltool-manifests/linux64/releng.manifest"
    MINIDUMP_STACKWALK_PATH = "linux64-minidump_stackwalk"
else:
    TOOLTOOL_MANIFEST_PATH = "config/tooltool-manifests/linux32/releng.manifest"
    MINIDUMP_STACKWALK_PATH = "linux32-minidump_stackwalk"

exes = {
    'python': PYTHON,
}
ABS_WORK_DIR = os.path.join(os.getcwd(), "build")
INSTALLER_PATH = os.path.join(ABS_WORK_DIR, "installer.tar.bz2")

config = {
    "log_name": "talos",
    "installer_path": INSTALLER_PATH,
    "virtualenv_path": VENV_PATH,
    "exes": exes,
    "title": os.uname()[1].lower().split('.')[0],
    "default_actions": [
        "clobber",
        "download-and-extract",
        "populate-webroot",
        "create-virtualenv",
        "install",
        "setup-mitmproxy",
        "run-tests",
    ],
    "minidump_stackwalk_path": MINIDUMP_STACKWALK_PATH,
    "minidump_tooltool_manifest_path": TOOLTOOL_MANIFEST_PATH,
    "tooltool_cache": "/builds/worker/tooltool-cache",
}