Bug 1505538 - Release x86_64 Fennec Nightly in the Google Play Store r=mtabara
authorJohan Lorenzo <jlorenzo@mozilla.com>
Tue, 12 Feb 2019 22:58:36 +0000
changeset 458818 de25d2f1abef
parent 458817 2b3012fa3cbf
child 458819 651aa8d03082
push id35548
push useropoprus@mozilla.com
push dateWed, 13 Feb 2019 09:48:26 +0000
treeherdermozilla-central@93e37c529818 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmtabara
bugs1505538
milestone67.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 1505538 - Release x86_64 Fennec Nightly in the Google Play Store r=mtabara Release x86_64 Fennec Nightly in the Google Play Store Differential Revision: https://phabricator.services.mozilla.com/D19534
taskcluster/taskgraph/loader/push_apk.py
taskcluster/taskgraph/transforms/push_apk.py
--- a/taskcluster/taskgraph/loader/push_apk.py
+++ b/taskcluster/taskgraph/loader/push_apk.py
@@ -35,21 +35,17 @@ def get_dependent_loaded_tasks(config, p
     )
     android_tasks = (
         task for task in tasks_with_matching_kind
         if task.attributes.get('build_platform', '').startswith('android')
     )
 
     # TODO Bug 1368484: Aarch64 is not planned to ride the trains regularly. It may stay on nightly
     # for a few cycles. Then, we should activate it on beta then release, once ready.
-    aarch64_tasks_only_on_central = (
-        task for task in android_tasks
-        if params['project'] == 'mozilla-central' or
-        'aarch64' not in task.attributes.get('build_platform', '')
-    )
+    if params['project'] in ('mozilla-central', 'try'):
+        shipping_tasks = list(android_tasks)
+    else:
+        shipping_tasks = [
+            task for task in android_tasks
+            if 'aarch64' not in task.attributes.get('build_platform', '')
+        ]
 
-    # TODO Bug 1490502: Activate x86-64 once ready
-    non_shipping_tasks = [
-        task for task in aarch64_tasks_only_on_central
-        if 'x86_64' not in task.attributes.get('build_platform', '')
-    ]
-
-    return non_shipping_tasks
+    return shipping_tasks
--- a/taskcluster/taskgraph/transforms/push_apk.py
+++ b/taskcluster/taskgraph/transforms/push_apk.py
@@ -65,18 +65,19 @@ Given dependencies: {}.
 '''.format(required_architectures, dependent_tasks)
         )
 
 
 def _get_required_architectures(project):
     architectures = {
         'android-api-16-nightly',
         'android-x86-nightly',
+        'android-x86_64-nightly',
     }
-    if project == 'mozilla-central':
+    if project in ('mozilla-central', 'try'):
         architectures.add('android-aarch64-nightly')
 
     return architectures
 
 
 @transforms.add
 def make_task_description(config, jobs):
     for job in jobs: