bug 964411: Create hg share directory for gaia-central for test slaves. r=aki
--- a/configs/b2g/gaia_unit_production_config.py
+++ b/configs/b2g/gaia_unit_production_config.py
@@ -1,17 +1,19 @@
# This is a template config file for b2g emulator unittest testing
+HG_SHARE_BASE_DIR = "/builds/hg-shared"
config = {
# mozharness script options
"xre_url": "http://runtime-binaries.pvt.build.mozilla.org/tooltool/sha512/d4a0da54e75c27cd2f535e66b586f119ef08b3bde4a9eee03662d296b3434189c542c0a7e7a75954030c04396a9823e22e1f884f5d87c0f4017944cd50ff38de",
# mozharness configuration
"tooltool_servers": ["http://runtime-binaries.pvt.build.mozilla.org/tooltool/"],
+ "vcs_share_base": HG_SHARE_BASE_DIR,
"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",
--- a/configs/marionette/automation_emulator_config.py
+++ b/configs/marionette/automation_emulator_config.py
@@ -1,18 +1,21 @@
# This is a template config file for marionette production.
import os
+HG_SHARE_BASE_DIR = "/builds/hg-shared"
+
config = {
# marionette options
"test_type": "b2g",
"emulator": "arm",
"tooltool_servers": ["http://runtime-binaries.pvt.build.mozilla.org/tooltool/"],
"test_manifest": "unit-tests.ini",
+ "vcs_share_base": HG_SHARE_BASE_DIR,
"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",
--- a/configs/marionette/gaia_ui_test_prod_config.py
+++ b/configs/marionette/gaia_ui_test_prod_config.py
@@ -1,25 +1,28 @@
# This is a template config file for marionette production.
import os
import platform
+HG_SHARE_BASE_DIR = "/builds/hg-shared"
+
if platform.system().lower() == 'darwin':
xre_url = "http://runtime-binaries.pvt.build.mozilla.org/tooltool/sha512/cb675b8a50a4df7c510d0ba09ddec99950aaa63373f69e69ee86b89755fd04944b140ce02ffdc9faa80e34f53752896a38c91fbab0febc81c583cb80e8515e9e"
else:
xre_url = "http://runtime-binaries.pvt.build.mozilla.org/tooltool/sha512/d4a0da54e75c27cd2f535e66b586f119ef08b3bde4a9eee03662d296b3434189c542c0a7e7a75954030c04396a9823e22e1f884f5d87c0f4017944cd50ff38de"
config = {
# marionette options
"test_type": "b2g",
"marionette_address": "localhost:2828",
"gaiatest": True,
"xre_url": xre_url,
"application": "b2g",
+ "vcs_share_base": HG_SHARE_BASE_DIR,
"exes": {
'python': '/tools/buildbot/bin/python',
'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'],
},
"find_links": [
"http://pypi.pvt.build.mozilla.org/pub",
"http://pypi.pub.build.mozilla.org/pub",
--- a/configs/marionette/prod_config.py
+++ b/configs/marionette/prod_config.py
@@ -1,17 +1,20 @@
# This is a template config file for marionette production.
import os
+HG_SHARE_BASE_DIR = "/builds/hg-shared"
+
config = {
# marionette options
"test_type": "browser",
"marionette_address": "localhost:2828",
"test_manifest": "unit-tests.ini",
+ "vcs_share_base": HG_SHARE_BASE_DIR,
"exes": {
'python': '/tools/buildbot/bin/python',
'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'],
},
"find_links": [
"http://pypi.pvt.build.mozilla.org/pub",
"http://pypi.pub.build.mozilla.org/pub",