Bug 1381577 - Part T; Add mozharness configs for Taskcluster win l10n repacks. r=aki
authorJustin Wood <Callek@gmail.com>
Tue, 18 Jul 2017 14:07:36 -0400
changeset 418983 4333c1391702ec21cfe45360bb72ecd56ac6e0c4
parent 418982 c6e53b1632ec82adb88c724157534349d8e7cc33
child 418984 dbc60400b0540e727d961c20c03fd69177c2d816
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaki
bugs1381577
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1381577 - Part T; Add mozharness configs for Taskcluster win l10n repacks. r=aki Land date changes to support windows nightlies onto central MozReview-Commit-ID: 5un10JBaKrH
testing/mozharness/configs/single_locale/tc_win32.py
testing/mozharness/configs/single_locale/tc_win64.py
new file mode 100644
--- /dev/null
+++ b/testing/mozharness/configs/single_locale/tc_win32.py
@@ -0,0 +1,41 @@
+import os
+
+EN_US_BINARY_URL = "%(en_us_binary_url)s"
+
+config = {
+    "locales_file": "src/browser/locales/all-locales",
+    "tools_repo": "https://hg.mozilla.org/build/tools",
+    "mozconfig": "src/browser/config/mozconfigs/win32/l10n-mozconfig",
+    'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
+    "bootstrap_env": {
+        "NO_MERCURIAL_SETUP_CHECK": "1",
+        "MOZ_OBJDIR": "obj-l10n",
+        "EN_US_BINARY_URL": os.environ.get("EN_US_BINARY_URL", EN_US_BINARY_URL),
+        # EN_US_INSTALLER_BINARY_URL falls back on EN_US_BINARY_URL
+        "EN_US_INSTALLER_BINARY_URL": os.environ.get(
+            "EN_US_INSTALLER_BINARY_URL", os.environ.get(
+                "EN_US_BINARY_URL", EN_US_BINARY_URL)),
+        "LOCALE_MERGEDIR": "%(abs_merge_dir)s/",
+        "MOZ_UPDATE_CHANNEL": "%(update_channel)s",
+        "DIST": "%(abs_objdir)s",
+        "LOCALE_MERGEDIR": "%(abs_merge_dir)s/",
+        "L10NBASEDIR": "../../l10n",
+        "MOZ_MAKE_COMPLETE_MAR": "1",
+        'TOOLTOOL_CACHE': os.environ.get('TOOLTOOL_CACHE', 'c:/builds/tooltool_cache'),
+        'EN_US_PACKAGE_NAME': 'target.zip',
+        'EN_US_PKG_INST_BASENAME': 'target.installer',
+    },
+    "upload_env": {
+        'UPLOAD_HOST': 'localhost',
+        'UPLOAD_PATH': os.path.join(os.getcwd(), 'public', 'build'),
+    },
+
+    "tooltool_url": 'http://relengapi/tooltool/',
+    'tooltool_manifest_src': "browser/config/tooltool-manifests/win32/releng.manifest",
+    "mozilla_dir": "src/",
+    "simple_name_move": True,
+    "update_gecko_source_to_enUS": False,
+
+    # Override the buildbot path to not read it
+    "buildbot_json_path": None,
+}
new file mode 100644
--- /dev/null
+++ b/testing/mozharness/configs/single_locale/tc_win64.py
@@ -0,0 +1,42 @@
+import os
+
+EN_US_BINARY_URL = "%(en_us_binary_url)s"
+
+config = {
+    "locales_file": "src/browser/locales/all-locales",
+    "tools_repo": "https://hg.mozilla.org/build/tools",
+    "mozconfig": "src/browser/config/mozconfigs/win64/l10n-mozconfig",
+    'vcs_share_base': os.path.join('y:', os.sep, 'hg-shared'),
+    "bootstrap_env": {
+        "NO_MERCURIAL_SETUP_CHECK": "1",
+        "MOZ_OBJDIR": "obj-l10n",
+        "EN_US_BINARY_URL": os.environ.get("EN_US_BINARY_URL", EN_US_BINARY_URL),
+        # EN_US_INSTALLER_BINARY_URL falls back on EN_US_BINARY_URL
+        "EN_US_INSTALLER_BINARY_URL": os.environ.get(
+            "EN_US_INSTALLER_BINARY_URL", os.environ.get(
+                "EN_US_BINARY_URL", EN_US_BINARY_URL)),
+        "LOCALE_MERGEDIR": "%(abs_merge_dir)s/",
+        "MOZ_UPDATE_CHANNEL": "%(update_channel)s",
+        "DIST": "%(abs_objdir)s",
+        "LOCALE_MERGEDIR": "%(abs_merge_dir)s/",
+        "L10NBASEDIR": "../../l10n",
+        "MOZ_MAKE_COMPLETE_MAR": "1",
+        'TOOLTOOL_CACHE': os.environ.get('TOOLTOOL_CACHE', 'c:/builds/tooltool_cache'),
+        'EN_US_PACKAGE_NAME': 'target.zip',
+        'EN_US_PKG_INST_BASENAME': 'target.installer',
+    },
+    "upload_env": {
+        'UPLOAD_HOST': 'localhost',
+        'UPLOAD_PATH': os.path.join(os.getcwd(), 'public', 'build'),
+    },
+
+    "tooltool_url": 'http://relengapi/tooltool/',
+    'tooltool_manifest_src': "browser/config/tooltool-manifests/win64/releng.manifest",
+    "mozilla_dir": "src/",
+    "simple_name_move": True,
+    "update_gecko_source_to_enUS": False,
+
+    # Override the buildbot path to not read it
+    "buildbot_json_path": None,
+}
+