# 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 copy import deepcopy
from taskgraph import MAX_DEPENDENCIES from taskgraph.transforms.base import TransformSequence from taskgraph.util.treeherder import add_suffix
# XXX Docker images may be added after this transform, so we allow one more dep to be added
MAX_NUMBER_OF_DEPS = MAX_DEPENDENCIES - 1
if regular_deps or soft_deps:
chunked_task = build_task_definition(task, regular_deps, soft_deps, count)
chunked_label = get_chunked_label(config, chunked_task)
chunked_labels.add(chunked_label) yield chunked_task
task["dependencies"] = {label: label for label in chunked_labels} # Chunk yields a last task that doesn't have a number appended to it. # It helps configuring Github which waits on a single label. # Setting this attribute also enables multi_dep to select the right # task to depend on.
task["attributes"]["is_final_chunked_task"] = True yield task
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.