bug 1438023 - stop running old-id android builds in `promote_fennec`. r=bhearsum
MozReview-Commit-ID: 6XqcXoHkSlF
--- 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])]