diff options
Diffstat (limited to 'testing/mozharness/configs/mediatests')
5 files changed, 251 insertions, 0 deletions
diff --git a/testing/mozharness/configs/mediatests/buildbot_posix_config.py b/testing/mozharness/configs/mediatests/buildbot_posix_config.py new file mode 100644 index 000000000..8c30a9f28 --- /dev/null +++ b/testing/mozharness/configs/mediatests/buildbot_posix_config.py @@ -0,0 +1,50 @@ +import os +import mozharness + +external_tools_path = os.path.join( + os.path.abspath(os.path.dirname(os.path.dirname(mozharness.__file__))), + 'external_tools', +) + +config = { + "virtualenv_path": 'venv', + "exes": { + 'python': '/tools/buildbot/bin/python', + 'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'], + 'tooltool.py': "/tools/tooltool.py", + }, + + "find_links": [ + "http://pypi.pvt.build.mozilla.org/pub", + "http://pypi.pub.build.mozilla.org/pub", + ], + "pip_index": False, + + "buildbot_json_path": "buildprops.json", + + "default_actions": [ + 'clobber', + 'read-buildbot-config', + 'download-and-extract', + 'create-virtualenv', + 'install', + 'run-media-tests', + ], + "default_blob_upload_servers": [ + "https://blobupload.elasticbeanstalk.com", + ], + "blob_uploader_auth_file" : os.path.join(os.getcwd(), "oauth.txt"), + "download_minidump_stackwalk": True, + "download_symbols": "ondemand", + + "suite_definitions": { + "media-tests": { + "options": [], + }, + "media-youtube-tests": { + "options": [ + "%(test_manifest)s" + ], + }, + }, +} diff --git a/testing/mozharness/configs/mediatests/buildbot_windows_config.py b/testing/mozharness/configs/mediatests/buildbot_windows_config.py new file mode 100644 index 000000000..270938378 --- /dev/null +++ b/testing/mozharness/configs/mediatests/buildbot_windows_config.py @@ -0,0 +1,56 @@ +import os +import sys +import mozharness + +external_tools_path = os.path.join( + os.path.abspath(os.path.dirname(os.path.dirname(mozharness.__file__))), + 'external_tools', +) + +config = { + "virtualenv_python_dll": 'c:/mozilla-build/python27/python27.dll', + "virtualenv_path": 'venv', + "exes": { + 'python': 'c:/mozilla-build/python27/python', + 'virtualenv': ['c:/mozilla-build/python27/python', 'c:/mozilla-build/buildbotve/virtualenv.py'], + 'hg': 'c:/mozilla-build/hg/hg', + 'mozinstall': ['%s/build/venv/scripts/python' % os.getcwd(), + '%s/build/venv/scripts/mozinstall-script.py' % os.getcwd()], + 'tooltool.py': [sys.executable, 'C:/mozilla-build/tooltool.py'], + }, + + "find_links": [ + "http://pypi.pvt.build.mozilla.org/pub", + "http://pypi.pub.build.mozilla.org/pub", + ], + "pip_index": False, + + "buildbot_json_path": "buildprops.json", + + "default_actions": [ + 'clobber', + 'read-buildbot-config', + 'download-and-extract', + 'create-virtualenv', + 'install', + 'run-media-tests', + ], + "default_blob_upload_servers": [ + "https://blobupload.elasticbeanstalk.com", + ], + "blob_uploader_auth_file" : os.path.join(os.getcwd(), "oauth.txt"), + "in_tree_config": "config/mozharness/marionette.py", + "download_minidump_stackwalk": True, + "download_symbols": "ondemand", + + "suite_definitions": { + "media-tests": { + "options": [], + }, + "media-youtube-tests": { + "options": [ + "%(test_manifest)s" + ], + }, + }, +} diff --git a/testing/mozharness/configs/mediatests/jenkins_config.py b/testing/mozharness/configs/mediatests/jenkins_config.py new file mode 100755 index 000000000..52de7221d --- /dev/null +++ b/testing/mozharness/configs/mediatests/jenkins_config.py @@ -0,0 +1,48 @@ +# Default configuration as used by Mozmill CI (Jenkins) + +import os +import platform +import sys + +import mozharness + + +external_tools_path = os.path.join( + os.path.abspath(os.path.dirname(os.path.dirname(mozharness.__file__))), + 'external_tools', +) + +config = { + # PIP + 'find_links': ['http://pypi.pub.build.mozilla.org/pub'], + 'pip_index': False, + + # mozcrash support + 'download_minidump_stackwalk': True, + 'download_symbols': 'ondemand', + 'download_tooltool': True, + + # Default test suite + 'test_suite': 'media-tests', + + 'suite_definitions': { + 'media-tests': { + 'options': [], + }, + 'media-youtube-tests': { + 'options': [ + '%(test_manifest)s' + ], + }, + }, + + 'default_actions': [ + 'clobber', + 'download-and-extract', + 'create-virtualenv', + 'install', + 'run-media-tests', + ], + +} + diff --git a/testing/mozharness/configs/mediatests/taskcluster_posix_config.py b/testing/mozharness/configs/mediatests/taskcluster_posix_config.py new file mode 100644 index 000000000..d02effa3d --- /dev/null +++ b/testing/mozharness/configs/mediatests/taskcluster_posix_config.py @@ -0,0 +1,47 @@ +import os +import mozharness + +external_tools_path = os.path.join( + os.path.abspath(os.path.dirname(os.path.dirname(mozharness.__file__))), + 'external_tools', +) + +config = { + # Python env + "virtualenv_path": 'venv', + "exes": { + 'python': '/tools/buildbot/bin/python', + 'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'], + 'tooltool.py': "/tools/tooltool.py", + }, + + # PIP + "find_links": [ + "http://pypi.pvt.build.mozilla.org/pub", + "http://pypi.pub.build.mozilla.org/pub", + ], + "pip_index": False, + + #mozcrash support + "download_minidump_stackwalk": True, + "download_symbols": "ondemand", + + "default_actions": [ + 'clobber', + 'download-and-extract', + 'create-virtualenv', + 'install', + 'run-media-tests', + ], + + "suite_definitions": { + "media-tests": { + "options": [], + }, + "media-youtube-tests": { + "options": [ + "%(test_manifest)s" + ], + }, + }, +} diff --git a/testing/mozharness/configs/mediatests/taskcluster_windows_config.py b/testing/mozharness/configs/mediatests/taskcluster_windows_config.py new file mode 100644 index 000000000..85bf8b525 --- /dev/null +++ b/testing/mozharness/configs/mediatests/taskcluster_windows_config.py @@ -0,0 +1,50 @@ +import os +import sys +import mozharness + +external_tools_path = os.path.join( + os.path.abspath(os.path.dirname(os.path.dirname(mozharness.__file__))), + 'external_tools', +) + +config = { + "virtualenv_python_dll": os.path.join(os.path.dirname(sys.executable), 'python27.dll'), + "virtualenv_path": 'venv', + "exes": { + 'python': sys.executable, + 'virtualenv': [ + sys.executable, + os.path.join(os.path.dirname(sys.executable), 'Lib', 'site-packages', 'virtualenv.py') + ], + 'mozinstall': ['build/venv/scripts/python', 'build/venv/scripts/mozinstall-script.py'], + 'tooltool.py': [sys.executable, os.path.join(os.environ['MOZILLABUILD'], 'tooltool.py')], + 'hg': os.path.join(os.environ['PROGRAMFILES'], 'Mercurial', 'hg') + }, + "proxxy": {}, + "find_links": [ + "http://pypi.pub.build.mozilla.org/pub", + ], + "pip_index": False, + + "download_minidump_stackwalk": True, + "download_symbols": "ondemand", + + "default_actions": [ + 'clobber', + 'download-and-extract', + 'create-virtualenv', + 'install', + 'run-media-tests', + ], + + "suite_definitions": { + "media-tests": { + "options": [], + }, + "media-youtube-tests": { + "options": [ + "%(test_manifest)s" + ], + }, + }, +} |