diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /testing/mozharness/configs/releng_infra_configs/testers.py | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/mozharness/configs/releng_infra_configs/testers.py')
-rw-r--r-- | testing/mozharness/configs/releng_infra_configs/testers.py | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/testing/mozharness/configs/releng_infra_configs/testers.py b/testing/mozharness/configs/releng_infra_configs/testers.py new file mode 100644 index 000000000..7f0ce2a7f --- /dev/null +++ b/testing/mozharness/configs/releng_infra_configs/testers.py @@ -0,0 +1,67 @@ +# This config file has generic values needed for any job and any platform running +# on Release Engineering machines inside the VPN +import os + +import mozharness + +from mozharness.base.script import platform_name + +external_tools_path = os.path.join( + os.path.abspath(os.path.dirname(os.path.dirname(mozharness.__file__))), + 'external_tools', +) + +# These are values specific to each platform on Release Engineering machines +PYTHON_WIN32 = 'c:/mozilla-build/python27/python.exe' +# These are values specific to running machines on Release Engineering machines +# to run it locally on your machines append --cfg developer_config.py +PLATFORM_CONFIG = { + 'linux': { + 'exes': { + 'gittool.py': os.path.join(external_tools_path, 'gittool.py'), + 'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'], + }, + 'env': { + 'DISPLAY': ':0', + 'PATH': '%(PATH)s:' + external_tools_path, + } + }, + 'linux64': { + 'exes': { + 'gittool.py': os.path.join(external_tools_path, 'gittool.py'), + 'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'], + }, + 'env': { + 'DISPLAY': ':0', + 'PATH': '%(PATH)s:' + external_tools_path, + } + }, + 'macosx': { + 'exes': { + 'gittool.py': os.path.join(external_tools_path, 'gittool.py'), + 'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'], + }, + 'env': { + 'PATH': '%(PATH)s:' + external_tools_path, + } + }, + 'win32': { + "exes": { + 'gittool.py': [PYTHON_WIN32, os.path.join(external_tools_path, 'gittool.py')], + # Otherwise, depending on the PATH we can pick python 2.6 up + 'python': PYTHON_WIN32, + 'virtualenv': [PYTHON_WIN32, 'c:/mozilla-build/buildbotve/virtualenv.py'], + } + } +} + +config = PLATFORM_CONFIG[platform_name()] +# Generic values +config.update({ + "find_links": [ + "http://pypi.pvt.build.mozilla.org/pub", + "http://pypi.pub.build.mozilla.org/pub", + ], + 'pip_index': False, + 'virtualenv_path': 'venv', +}) |