bug 1438023 - stop running old-id android builds in `promote_fennec`. r=bhearsum draft
authorAki Sasaki <asasaki@mozilla.com>
Thu, 22 Feb 2018 13:30:09 +0000
changeset 758439 87b5b5b71b8361027e11d0de73d270b7bb0ce6a7
parent 758396 ea3da643422c58d65335f1778dd6c89c09911585
push id100059
push userasasaki@mozilla.com
push dateThu, 22 Feb 2018 13:54:15 +0000
reviewersbhearsum
bugs1438023
milestone60.0a1
bug 1438023 - stop running old-id android builds in `promote_fennec`. r=bhearsum MozReview-Commit-ID: 6XqcXoHkSlF
taskcluster/taskgraph/target_tasks.py
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -481,16 +481,21 @@ def target_tasks_promote_fennec(full_tas
     filtered_for_project = target_tasks_nightly_fennec(full_task_graph, parameters, graph_config)
 
     def filter(task):
         attr = task.attributes.get
         # Don't ship single locale fennec anymore - Bug 1408083
         if attr("locale") or attr("chunk_locales"):
             return False
         if task.label in filtered_for_project:
+            # bug 1438023 - old-id should only run on central.
+            # We can remove this hack when shippable builds land and we
+            # are using run-on-projects properly here.
+            if 'old-id' in task.label:
+                return False
             if task.kind not in ('balrog', 'push-apk', 'push-apk-breakpoint'):
                 if task.attributes.get('nightly'):
                     return True
         if task.attributes.get('shipping_product') == 'fennec' and \
                 task.attributes.get('shipping_phase') == 'promote':
             return True
 
     return [l for l, t in full_task_graph.tasks.iteritems() if filter(full_task_graph[l])]