summaryrefslogtreecommitdiffstats
path: root/testing/mozharness/configs/releng_infra_configs
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mozharness/configs/releng_infra_configs')
-rw-r--r--testing/mozharness/configs/releng_infra_configs/builders.py47
-rw-r--r--testing/mozharness/configs/releng_infra_configs/linux.py5
-rw-r--r--testing/mozharness/configs/releng_infra_configs/linux64.py5
-rw-r--r--testing/mozharness/configs/releng_infra_configs/macosx64.py5
-rw-r--r--testing/mozharness/configs/releng_infra_configs/testers.py67
-rw-r--r--testing/mozharness/configs/releng_infra_configs/win32.py5
-rw-r--r--testing/mozharness/configs/releng_infra_configs/win64.py5
7 files changed, 139 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',
+})
+
diff --git a/testing/mozharness/configs/releng_infra_configs/linux.py b/testing/mozharness/configs/releng_infra_configs/linux.py
new file mode 100644
index 000000000..dbac47935
--- /dev/null
+++ b/testing/mozharness/configs/releng_infra_configs/linux.py
@@ -0,0 +1,5 @@
+config = {
+ 'env': {
+ 'MINIDUMP_STACKWALK': '%(abs_tools_dir)s/breakpad/linux/minidump_stackwalk',
+ }
+}
diff --git a/testing/mozharness/configs/releng_infra_configs/linux64.py b/testing/mozharness/configs/releng_infra_configs/linux64.py
new file mode 100644
index 000000000..d7e97d6e8
--- /dev/null
+++ b/testing/mozharness/configs/releng_infra_configs/linux64.py
@@ -0,0 +1,5 @@
+config = {
+ 'env': {
+ 'MINIDUMP_STACKWALK': '%(abs_tools_dir)s/breakpad/linux64/minidump_stackwalk',
+ }
+}
diff --git a/testing/mozharness/configs/releng_infra_configs/macosx64.py b/testing/mozharness/configs/releng_infra_configs/macosx64.py
new file mode 100644
index 000000000..c0b5948cc
--- /dev/null
+++ b/testing/mozharness/configs/releng_infra_configs/macosx64.py
@@ -0,0 +1,5 @@
+config = {
+ 'env': {
+ 'MINIDUMP_STACKWALK': '%(abs_tools_dir)s/breakpad/osx64/minidump_stackwalk',
+ }
+}
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',
+})
diff --git a/testing/mozharness/configs/releng_infra_configs/win32.py b/testing/mozharness/configs/releng_infra_configs/win32.py
new file mode 100644
index 000000000..778fa00d9
--- /dev/null
+++ b/testing/mozharness/configs/releng_infra_configs/win32.py
@@ -0,0 +1,5 @@
+config = {
+ 'env': {
+ 'MINIDUMP_STACKWALK': '%(abs_tools_dir)s/breakpad/win32/minidump_stackwalk',
+ }
+}
diff --git a/testing/mozharness/configs/releng_infra_configs/win64.py b/testing/mozharness/configs/releng_infra_configs/win64.py
new file mode 100644
index 000000000..97968793e
--- /dev/null
+++ b/testing/mozharness/configs/releng_infra_configs/win64.py
@@ -0,0 +1,5 @@
+config = {
+ 'env': {
+ 'MINIDUMP_STACKWALK': '%(abs_tools_dir)s/breakpad/win64/minidump_stackwalk',
+ }
+}