Bug 1381520 - Stop making duplicated builds on beta for win{32,64} + mac r=Callek draft
authorJohan Lorenzo <jlorenzo@mozilla.com>
Thu, 03 Aug 2017 15:03:37 +0200
changeset 620528 86a022d0c5246a40f1b025a62e493867f0797750
parent 620429 1ec102ceb2da594ca03d8a7af51e11e4900c38eb
child 640722 4f3f577aec2f9aae9e59e07dc7479a6e0d42ee72
push id72065
push userbmo:jlorenzo@mozilla.com
push dateThu, 03 Aug 2017 14:33:51 +0000
reviewersCallek
bugs1381520
milestone56.0
Bug 1381520 - Stop making duplicated builds on beta for win{32,64} + mac r=Callek MozReview-Commit-ID: sHT3VHav1s
taskcluster/taskgraph/target_tasks.py
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -255,23 +255,33 @@ def target_tasks_mozilla_beta(full_task_
     """Select the set of tasks required for a promotable beta or release build
     of linux, 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 standard_filter(task, parameters):
             return False
         platform = task.attributes.get('build_platform')
-        if platform in ('linux64-pgo', 'linux-pgo', 'android-api-15-nightly',
-                        'android-x86-nightly'):
+        if platform in (
+                # On beta, Nightly builds are already PGOs
+                'linux-pgo', 'linux64-pgo',
+                'win32-pgo', 'win64-pgo',
+                'android-api-15-nightly', 'android-x86-nightly'
+                ):
             return False
-        if platform in ('linux64', 'linux'):
+
+        if platform in (
+                'linux', 'linux64',
+                'macosx64',
+                'win32', 'win64',
+                ):
             if task.attributes['build_type'] == 'opt' and \
                task.attributes.get('unittest_suite') != 'talos':
                 return False
+
         # skip l10n, beetmover, balrog
         if task.kind in [
             'balrog', 'beetmover', 'beetmover-checksums', 'beetmover-l10n',
             'checksums-signing', 'nightly-l10n', 'nightly-l10n-signing',
             'push-apk', 'push-apk-breakpoint', 'beetmover-repackage',
             'beetmover-repackage-signing',
         ]:
             return False