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