Bug 1408083 - Drop support for single locale fennec releases/betas. r=rail draft
authorJustin Wood <Callek@gmail.com>
Fri, 13 Oct 2017 16:29:09 -0400
changeset 680944 c293e1e0c2ca6fd02c87f488d75b6eb626d46dc3
parent 677926 c5e550fbf12843a9189e5f6708f384d4133d6161
child 736023 8a8deb41c8067c794bf677cae85125a4134a222c
push id84687
push userCallek@gmail.com
push dateMon, 16 Oct 2017 16:27:56 +0000
reviewersrail
bugs1408083
milestone57.0
Bug 1408083 - Drop support for single locale fennec releases/betas. r=rail MozReview-Commit-ID: 3xiILzghRoY
taskcluster/taskgraph/target_tasks.py
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -301,16 +301,20 @@ def target_tasks_mozilla_release(full_ta
 @_target_task('candidates_fennec')
 def target_tasks_candidates_fennec(full_task_graph, parameters):
     """Select the set of tasks required for a candidates build of fennec. The
     nightly build process involves a pipeline of builds, signing,
     and, eventually, uploading the tasks to balrog."""
     filtered_for_project = target_tasks_nightly_fennec(full_task_graph, parameters)
 
     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.kind not in ['balrog']:
             return task.attributes.get('nightly', False)
 
     return [l for l in filtered_for_project if filter(full_task_graph[l])]
 
 
 @_target_task('pine_tasks')
 def target_tasks_pine(full_task_graph, parameters):