diff options
Diffstat (limited to 'testing/mozharness/configs/releng_infra_configs/builders.py')
-rw-r--r-- | testing/mozharness/configs/releng_infra_configs/builders.py | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/mozharness/configs/releng_infra_configs/builders.py b/testing/mozharness/configs/releng_infra_configs/builders.py new file mode 100644 index 000000000..3a6a8b595 --- /dev/null +++ b/testing/mozharness/configs/releng_infra_configs/builders.py @@ -0,0 +1,47 @@ +# This config file has generic values needed for any job and any platform running +# on Release Engineering machines inside the VPN +from mozharness.base.script import platform_name + +# 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 = { + 'linux64': { + 'exes': { + 'gittool.py': '/usr/local/bin/gittool.py', + 'python': '/tools/buildbot/bin/python', + 'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'], + }, + 'env': { + 'DISPLAY': ':2', + } + }, + 'macosx': { + 'exes': { + 'gittool.py': '/usr/local/bin/gittool.py', + 'python': '/tools/buildbot/bin/python', + 'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'], + }, + }, + 'win32': { + "exes": { + 'gittool.py': [PYTHON_WIN32, 'c:/builds/hg-shared/build/tools/buildfarm/utils/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', +}) + |