Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/mozilla_taskgraph/transforms/replicate.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
from taskcluster.exceptions import TaskclusterRestFailure
from taskgraph.transforms.base import TransformSequence
from taskgraph.util.attributes import attrmatch
from taskgraph.util.schema import Schema
from taskgraph.util.schema import LegacySchema
from taskgraph.util.taskcluster import (
find_task_id,
get_artifact,
get_task_definition,
)
from voluptuous import ALLOW_EXTRA, Any, Optional, Required

REPLICATE_SCHEMA = Schema(
REPLICATE_SCHEMA = LegacySchema(
{
Required(
"replicate",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

from taskgraph.transforms.base import TransformSequence
from taskgraph.transforms.task import task_description_schema
from taskgraph.util.schema import Schema
from taskgraph.util.schema import LegacySchema
from taskgraph.util.workertypes import worker_type_implementation
from voluptuous import Extra, Optional, Required

transforms = TransformSequence()

release_artifacts_schema = Schema(
release_artifacts_schema = LegacySchema(
{
Required("worker-type"): task_description_schema["worker-type"],
Optional("release-artifacts"): [str],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
from textwrap import dedent

from taskgraph.transforms.base import TransformSequence
from taskgraph.util.schema import Schema, optionally_keyed_by, resolve_keyed_by
from taskgraph.util.schema import LegacySchema, optionally_keyed_by, resolve_keyed_by
from voluptuous import Extra, Optional

transforms = TransformSequence()

mark_as_shipped_schema = Schema(
mark_as_shipped_schema = LegacySchema(
{
Optional("name"): str,
Optional("shipit-product"): optionally_keyed_by("build-type", str),
Expand Down