mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
180bd9c666
for: Land changes to flip windows nightlies on, and to tier 1 on central Also sets awsy and marionette headless to just use built-projects for what to run on, and then sets browser-screenshots to not run on deved. MozReview-Commit-ID: C6KbHI7Hs81 --HG-- extra : rebase_source : 2b9078497718f4b95183b41721800dcd9960a98e
26 lines
1.0 KiB
Python
26 lines
1.0 KiB
Python
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
from __future__ import absolute_import, print_function, unicode_literals
|
|
|
|
from taskgraph.loader.single_dep import loader as base_loader
|
|
|
|
# XXX: This logic should rely in kind.yml. This hasn't been done in the original
|
|
# patch because it required some heavy changes in single_dep.
|
|
LABELS_WHICH_SHOULD_SIGN_CI_BUILDS = (
|
|
'build-win32/debug', 'build-win32/opt', 'build-win32/pgo',
|
|
'build-win64/debug', 'build-win64/opt', 'build-win64/pgo',
|
|
'build-win32-devedition/opt', 'build-win64-devedition/opt',
|
|
)
|
|
|
|
|
|
def loader(kind, path, config, params, loaded_tasks):
|
|
jobs = base_loader(kind, path, config, params, loaded_tasks)
|
|
|
|
for job in jobs:
|
|
dependent_task = job['dependent-task']
|
|
if dependent_task.attributes.get('nightly') or \
|
|
dependent_task.label in LABELS_WHICH_SHOULD_SIGN_CI_BUILDS:
|
|
yield job
|