Bug 1381577 - Part Q; Enable funsize routes for windows nightly. r=kmoir draft
authorJustin Wood <Callek@gmail.com>
Tue, 18 Jul 2017 13:53:52 -0400
changeset 613359 22637e690047a87a2a3c2287205ae27ecb873d06
parent 613358 c273510e657a4f07fa39b6006bcf1e42b8319e5b
child 613360 6d2e9a77c9f0cb118ff5389f584034f491bbf0ed
push id69770
push userCallek@gmail.com
push dateFri, 21 Jul 2017 20:09:14 +0000
reviewerskmoir
bugs1381577
milestone56.0a1
Bug 1381577 - Part Q; Enable funsize routes for windows nightly. r=kmoir Land date changes to support windows nightlies onto central MozReview-Commit-ID: D8pWqeioF15
taskcluster/taskgraph/transforms/repackage_signing.py
--- a/taskcluster/taskgraph/transforms/repackage_signing.py
+++ b/taskcluster/taskgraph/transforms/repackage_signing.py
@@ -110,16 +110,23 @@ def make_repackage_signing_description(c
                        'upstream-artifacts': upstream_artifacts,
                        'max-run-time': 3600},
             'scopes': scopes,
             'dependencies': dependencies,
             'attributes': attributes,
             'run-on-projects': dep_job.attributes.get('run_on_projects'),
             'treeherder': treeherder,
         }
-        if 'macosx' in dep_job.attributes.get('build_platform'):
+
+        funsize_platforms = [
+            'macosx64-nightly',
+            'win32-nightly',
+            'win64-nightly'
+        ]
+        if dep_job.attributes.get('build_platform') in funsize_platforms and \
+                dep_job.attributes.get('nightly'):
             route_template = "project.releng.funsize.level-{level}.{project}"
             task['routes'] = [
                 route_template.format(project=config.params['project'],
                                       level=config.params['level'])
             ]
 
         yield task