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
--- 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."""