Bug 1381577 - Enable funsize routes for windows nightly. r=kmoir draft
authorJustin Wood <Callek@gmail.com>
Tue, 18 Jul 2017 13:53:52 -0400
changeset 611731 689bb6a8498fb1f1216227048049baec0dae334e
parent 611730 8f7b9e092302bf38f1e190fe74d3f9f06bfcabac
child 611732 2f3fe6100818a72a590fe8e0e3107f821fd616f8
child 611749 4bf73cfd579dbe67927d3a6ef55e20f0e7807adc
push id69287
push userCallek@gmail.com
push dateThu, 20 Jul 2017 01:11:37 +0000
reviewerskmoir
bugs1381577
milestone56.0a1
Bug 1381577 - 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