Bug 1381577 - Part B; Rename the nightly win64 hook to just nightly, support win32. r=dustin

Land date changes to support windows nightlies onto central

MozReview-Commit-ID: 6q7XwWTeXwo

--HG--
extra : rebase_source : aa5522dc98dcd1d606021843da3c72b511e92749
This commit is contained in:
Justin Wood 2017-07-17 14:50:21 -04:00
Родитель b054579f4b
Коммит 9da4609bc2
2 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -33,11 +33,11 @@ jobs:
mozilla-central: [{hour: 10, minute: 0}]
# No default
- name: nightly-desktop-win64
- name: nightly-desktop-win
job:
type: decision-task
treeherder-symbol: Nd-Win64
target-tasks-method: nightly_win64
treeherder-symbol: Nd-Win
target-tasks-method: nightly_win
run-on-projects:
- date
when: [] # never (hook only)

Просмотреть файл

@ -306,17 +306,17 @@ def target_tasks_nightly_macosx(full_task_graph, parameters):
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
# nightly_win64 should be refactored to be nightly_all once
# https://bugzilla.mozilla.org/show_bug.cgi?id=1267425 dependent bugs are
# nightly_win should be refactored to be nightly_all once
# https://bugzilla.mozilla.org/show_bug.cgi?id=1267428 dependent bugs are
# implemented
@_target_task('nightly_win64')
@_target_task('nightly_win')
def target_tasks_nightly_win64(full_task_graph, parameters):
"""Select the set of tasks required for a nightly build of win64. The
nightly build process involves a pipeline of builds, signing,
"""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 ('win64-nightly', ):
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)]