Limit the Fennec multilocale build to just en-US and zh-CN draft
authorHector Zhao <bzhao@mozilla.com>
Wed, 28 Aug 2019 15:02:39 +0800
changeset 2424721 63510673277d5508415c37f06880dab25f3bd592
parent 2424720 398412c5a4ca3124f0b61ff5eec557e7e0dce6c8
child 2424722 affb463775f79a5d91c973963aabd6343204b46c
child 2424723 670d62357401d31c57b1893213249d78eec5609d
push id447526
push userbzhao@mozilla.com
push dateMon, 11 Nov 2019 06:24:07 +0000
treeherdertry@affb463775f7 [default view] [failures only]
milestone68.3.0
Limit the Fennec multilocale build to just en-US and zh-CN See `grep -A 5 zh-CN mobile/locales/l10n-changesets.json` for l10n revision
testing/mozharness/configs/multi_locale/mozillaonline-esr68_android.json
testing/mozharness/mozharness/mozilla/building/buildbase.py
new file mode 100644
--- /dev/null
+++ b/testing/mozharness/configs/multi_locale/mozillaonline-esr68_android.json
@@ -0,0 +1,13 @@
+{
+    "work_dir": ".",
+    "log_name": "multilocale",
+    "objdir": "obj-firefox",
+    "locales": ["zh-CN:8cc8cfa36027"],
+    "locales_dir": "mobile/android/locales",
+    "ignore_locales": ["en-US", "multi"],
+    "vcs_share_base": "/builds/hg-shared",
+    "hg_l10n_base": "https://hg.mozilla.org/l10n-central",
+    "hg_l10n_tag": "default",
+    "l10n_dir": "l10n-central",
+    "mozilla_dir": "build"
+}
--- a/testing/mozharness/mozharness/mozilla/building/buildbase.py
+++ b/testing/mozharness/mozharness/mozilla/building/buildbase.py
@@ -1101,17 +1101,17 @@ or run without that action (ie: --no-{ac
         base_work_dir = dirs['base_work_dir']
         objdir = dirs['abs_obj_dir']
         branch = self.branch
 
         # Building a nightly with the try repository fails because a
         # config-file does not exist for try. Default to mozilla-central
         # settings (arbitrarily).
         if branch == 'try':
-            branch = 'mozilla-central'
+            branch = 'mozillaonline-esr68'
 
         multi_config_pf = self.config.get('multi_locale_config_platform',
                                           'android')
 
         multil10n_path = 'build/src/testing/mozharness/scripts/multil10n.py'
         base_work_dir = os.path.join(base_work_dir, 'workspace')
 
         cmd = [