Skip to content

Commit

Permalink
Taskgraph 7.0 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bhearsum committed Dec 18, 2023
1 parent 7232e16 commit ad6821d
Show file tree
Hide file tree
Showing 43 changed files with 37 additions and 37 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ loader: taskgraph.loader.transform:loader

transforms:
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ loader: taskgraph.loader.transform:loader
transforms:
- translations_taskgraph.transforms.from_datasets:per_dataset
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ loader: taskgraph.loader.transform:loader

transforms:
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ loader: taskgraph.loader.transform:loader
transforms:
- translations_taskgraph.transforms.from_datasets:per_dataset
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ loader: taskgraph.loader.transform:loader

transforms:
- translations_taskgraph.transforms.from_datasets:mono
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ loader: taskgraph.loader.transform:loader
transforms:
- taskgraph.transforms.task_context
- taskgraph.transforms.from_deps
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ loader: taskgraph.loader.transform:loader
transforms:
- taskgraph.transforms.from_deps
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ loader: taskgraph.loader.transform:loader
transforms:
- taskgraph.transforms.from_deps
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ loader: taskgraph.loader.transform:loader
transforms:
- translations_taskgraph.transforms.from_datasets:per_dataset
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ transforms:
- translations_taskgraph.transforms.from_datasets:per_dataset
- translations_taskgraph.transforms.worker_env
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ transforms:
- translations_taskgraph.transforms.worker_env
- taskgraph.transforms.from_deps
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ transforms:
- taskgraph.transforms.task_context
- translations_taskgraph.transforms.cast_to
- taskgraph.transforms.chunking
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ loader: taskgraph.loader.transform:loader

transforms:
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ transforms:
- taskgraph.transforms.task_context
- translations_taskgraph.transforms.cast_to
- taskgraph.transforms.chunking
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ loader: taskgraph.loader.transform:loader

transforms:
- translations_taskgraph.transforms.fetch:transforms
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- taskgraph.transforms.task:transforms

task-defaults:
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ transforms:
- translations_taskgraph.transforms.marian_args:transforms
- translations_taskgraph.transforms.worker_env
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ loader: taskgraph.loader.transform:loader
transforms:
- translations_taskgraph.transforms.find_upstreams:by_locales
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ loader: taskgraph.loader.transform:loader
transforms:
- translations_taskgraph.transforms.find_upstreams:by_locales
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ loader: taskgraph.loader.transform:loader
transforms:
- taskgraph.transforms.task_context
- translations_taskgraph.transforms.find_upstreams:mono
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ loader: taskgraph.loader.transform:loader

transforms:
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ loader: taskgraph.loader.transform:loader

transforms:
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ loader: taskgraph.loader.transform:loader
transforms:
- translations_taskgraph.transforms.worker_env
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ loader: taskgraph.loader.transform:loader

transforms:
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ loader: taskgraph.loader.transform:loader

transforms:
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ loader: taskgraph.loader.transform:loader

transforms:
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ loader: taskgraph.loader.transform:loader

transforms:
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- taskgraph.transforms.task:transforms

task-defaults:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ kind-dependencies:
- fetch

transforms:
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ transforms:
- translations_taskgraph.transforms.marian_args:transforms
- translations_taskgraph.transforms.worker_env
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ transforms:
- translations_taskgraph.transforms.marian_args:transforms
- translations_taskgraph.transforms.worker_env
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ transforms:
- taskgraph.transforms.task_context
- translations_taskgraph.transforms.cast_to
- taskgraph.transforms.chunking
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ loader: taskgraph.loader.transform:loader

transforms:
- taskgraph.transforms.task_context
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ transforms:
- translations_taskgraph.transforms.cast_to
- taskgraph.transforms.chunking
- taskgraph.transforms.from_deps
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ transforms:
- translations_taskgraph.transforms.cast_to
- taskgraph.transforms.chunking
- taskgraph.transforms.from_deps
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ transforms:
- taskgraph.transforms.task_context
- translations_taskgraph.transforms.cast_to
- taskgraph.transforms.chunking
- taskgraph.transforms.job:transforms
- taskgraph.transforms.run:transforms
- translations_taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms

Expand Down
4 changes: 2 additions & 2 deletions taskcluster/translations_taskgraph/target_tasks.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from taskgraph.target_tasks import _target_task
from taskgraph.target_tasks import register_target_task


@_target_task("train-target-tasks")
@register_target_task("train-target-tasks")
def train_target_tasks(full_task_graph, parameters, graph_config):
training_config = parameters["training_config"]
stage = training_config["target-stage"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from taskgraph import files_changed
from taskgraph.transforms.base import TransformSequence

KIND_DIR = Path(__file__).parent.parent.parent / "ci"
KIND_DIR = Path(__file__).parent.parent.parent / "kinds"

# Kinds are slightly special - there are some kinds that don't affect the pipeline,
# and changing them shouldn't force the pipeline to run.
Expand Down

0 comments on commit ad6821d

Please sign in to comment.