Bug 1551738 - Add `mozilla_esr68_tasks` target tasks. r=tomprince, a=release
authorJohan Lorenzo <jlorenzo@mozilla.com>
Thu, 06 Jun 2019 18:48:15 +0000
changeset 536736 b623b7cc2ae896249b3067fa66b40d04fcd16c6b
parent 536735 092bef8c0d6e514b3ad85c6d17a7c66531f63749
child 536737 24e1c29b04c69fc6c6411c43cd9c42e60199c597
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstomprince, release
bugs1551738
milestone68.0
Bug 1551738 - Add `mozilla_esr68_tasks` target tasks. r=tomprince, a=release Differential Revision: https://phabricator.services.mozilla.com/D33971
taskcluster/taskgraph/target_tasks.py
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -267,33 +267,53 @@ def target_tasks_mozilla_release(full_ta
     return [l for l, t in full_task_graph.tasks.iteritems()
             if filter_release_tasks(t, parameters)
             and standard_filter(t, parameters)]
 
 
 @_target_task('mozilla_esr60_tasks')
 def target_tasks_mozilla_esr60(full_task_graph, parameters, graph_config):
     """Select the set of tasks required for a promotable beta or release build
+    of desktop. The candidates build process involves a pipeline of builds and
+    signing, but does not include beetmover or balrog jobs."""
+
+    def filter(task):
+        if not filter_release_tasks(task, parameters):
+            return False
+
+        if not standard_filter(task, parameters):
+            return False
+
+        platform = task.attributes.get('build_platform')
+
+        # Android is not built on esr60.
+        if platform and 'android' in platform:
+            return False
+
+        # All else was already filtered
+        return True
+
+    return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
+
+
+@_target_task('mozilla_esr68_tasks')
+def target_tasks_mozilla_esr68(full_task_graph, parameters, graph_config):
+    """Select the set of tasks required for a promotable beta or release build
     of desktop, plus android CI. The candidates build process involves a pipeline
     of builds and signing, but does not include beetmover or balrog jobs."""
 
     def filter(task):
         if not filter_release_tasks(task, parameters):
             return False
 
         if not standard_filter(task, parameters):
             return False
 
-        platform = task.attributes.get('build_platform')
+        # Unlike esr60, we do want all kinds of fennec builds on esr68.
 
-        # Android is not built on esr.
-        if platform and 'android' in platform:
-            return False
-
-        # All else was already filtered
         return True
 
     return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
 
 
 @_target_task('promote_desktop')
 def target_tasks_promote_desktop(full_task_graph, parameters, graph_config):
     """Select the superset of tasks required to promote a beta or release build