1"""
2This config file can be appended to any other mozharness job
3running under treeherder. The purpose of this config is to
4override values that are specific to Release Engineering machines
5that can reach specific hosts within their network.
6In other words, this config allows you to run any job
7outside of the Release Engineering network
8
9Using this config file should be accompanied with using
10--test-url and --installer-url where appropiate
11"""
12
13import os
14LOCAL_WORKDIR = os.path.expanduser("~/.mozilla/releng")
15
16config = {
17    # Developer mode values
18    "developer_mode": True,
19    "local_workdir": LOCAL_WORKDIR,
20    "replace_urls": [
21        ("http://pvtbuilds.pvt.build", "https://pvtbuilds"),
22    ],
23
24    # General local variable overwrite
25    "exes": {
26        "gittool.py": os.path.join(LOCAL_WORKDIR, "gittool.py"),
27    },
28
29    # Talos related
30    "python_webserver": True,
31    "virtualenv_path": '%s/build/venv' % os.getcwd(),
32    "preflight_run_cmd_suites": [],
33    "postflight_run_cmd_suites": [],
34
35    # Tooltool related
36    "tooltool_cache": os.path.join(LOCAL_WORKDIR, "builds/tooltool_cache"),
37    "tooltool_cache_path": os.path.join(LOCAL_WORKDIR, "builds/tooltool_cache"),
38    "tooltool_authentication_file": os.path.join(LOCAL_WORKDIR, "relengapi.tok"),
39
40    # VCS tools
41    "gittool.py": 'http://hg.mozilla.org/build/puppet/raw-file/faaf5abd792e/modules/packages/files/gittool.py',
42
43    # Android related
44    "host_utils_url": "https://tooltool.mozilla-releng.net/sha512/372c89f9dccaf5ee3b9d35fd1cfeb089e1e5db3ff1c04e35aa3adc8800bc61a2ae10e321f37ae7bab20b56e60941f91bb003bcb22035902a73d70872e7bd3282",
45}
46