Bug 1381577 - Part AL; Filter tasks based on run-on-projects for windows nightlies too. r=kmoir
authorJustin Wood <Callek@gmail.com>
Thu, 20 Jul 2017 10:47:02 -0400
changeset 419001 707dc7973d5a5ddf0364dc4ed0504d7c5b8cc526
parent 419000 3d3bd8c4420b8f79dcac0a32becd30183079fea4
child 419002 f5a5e055be578be73d2a4dce8018f97f341f276a
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskmoir
bugs1381577
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1381577 - Part AL; Filter tasks based on run-on-projects for windows nightlies too. r=kmoir Land date changes to support windows nightlies onto central MozReview-Commit-ID: B9S2WXHESjG
taskcluster/taskgraph/target_tasks.py
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -311,17 +311,19 @@ def target_tasks_nightly_macosx(full_tas
 # implemented
 @_target_task('nightly_win')
 def target_tasks_nightly_win64(full_task_graph, parameters):
     """Select the set of tasks required for a nightly build of win32 and win64.
     The nightly build process involves a pipeline of builds, signing,
     and, eventually, uploading the tasks to balrog."""
     def filter(task):
         platform = task.attributes.get('build_platform')
-        if platform in ('win32-nightly', 'win64-nightly', ):
+        if not filter_for_project(task, parameters):
+            return False
+        if platform in ('win32-nightly', 'win64-nightly'):
             return task.attributes.get('nightly', False)
     return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
 
 
 # Opt DMD builds should only run nightly
 @_target_task('nightly_dmd')
 def target_tasks_dmd(full_task_graph, parameters):
     """Target DMD that run nightly on the m-c branch."""