diff --git a/taskcluster/ci/config.yml b/taskcluster/config.yml similarity index 100% rename from taskcluster/ci/config.yml rename to taskcluster/config.yml diff --git a/taskcluster/ci/alignments/kind.yml b/taskcluster/kinds/alignments/kind.yml similarity index 98% rename from taskcluster/ci/alignments/kind.yml rename to taskcluster/kinds/alignments/kind.yml index 11e179318..7c63c96f4 100644 --- a/taskcluster/ci/alignments/kind.yml +++ b/taskcluster/kinds/alignments/kind.yml @@ -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 diff --git a/taskcluster/ci/all-pr/kind.yml b/taskcluster/kinds/all-pr/kind.yml similarity index 100% rename from taskcluster/ci/all-pr/kind.yml rename to taskcluster/kinds/all-pr/kind.yml diff --git a/taskcluster/ci/all/kind.yml b/taskcluster/kinds/all/kind.yml similarity index 100% rename from taskcluster/ci/all/kind.yml rename to taskcluster/kinds/all/kind.yml diff --git a/taskcluster/ci/bicleaner/kind.yml b/taskcluster/kinds/bicleaner/kind.yml similarity index 99% rename from taskcluster/ci/bicleaner/kind.yml rename to taskcluster/kinds/bicleaner/kind.yml index 0fdf34b34..094bd0192 100644 --- a/taskcluster/ci/bicleaner/kind.yml +++ b/taskcluster/kinds/bicleaner/kind.yml @@ -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 diff --git a/taskcluster/ci/cefilter/kind.yml b/taskcluster/kinds/cefilter/kind.yml similarity index 98% rename from taskcluster/ci/cefilter/kind.yml rename to taskcluster/kinds/cefilter/kind.yml index 4116098d2..4b8dde228 100644 --- a/taskcluster/ci/cefilter/kind.yml +++ b/taskcluster/kinds/cefilter/kind.yml @@ -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 diff --git a/taskcluster/ci/clean-corpus/kind.yml b/taskcluster/kinds/clean-corpus/kind.yml similarity index 98% rename from taskcluster/ci/clean-corpus/kind.yml rename to taskcluster/kinds/clean-corpus/kind.yml index 620cebc2b..5693bb07a 100644 --- a/taskcluster/ci/clean-corpus/kind.yml +++ b/taskcluster/kinds/clean-corpus/kind.yml @@ -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 diff --git a/taskcluster/ci/clean-mono/kind.yml b/taskcluster/kinds/clean-mono/kind.yml similarity index 98% rename from taskcluster/ci/clean-mono/kind.yml rename to taskcluster/kinds/clean-mono/kind.yml index a7ca7a679..55a78771c 100644 --- a/taskcluster/ci/clean-mono/kind.yml +++ b/taskcluster/kinds/clean-mono/kind.yml @@ -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 diff --git a/taskcluster/ci/collect-corpus/kind.yml b/taskcluster/kinds/collect-corpus/kind.yml similarity index 98% rename from taskcluster/ci/collect-corpus/kind.yml rename to taskcluster/kinds/collect-corpus/kind.yml index bb4cf3a4e..98971e7a3 100644 --- a/taskcluster/ci/collect-corpus/kind.yml +++ b/taskcluster/kinds/collect-corpus/kind.yml @@ -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 diff --git a/taskcluster/ci/collect-mono-src/kind.yml b/taskcluster/kinds/collect-mono-src/kind.yml similarity index 98% rename from taskcluster/ci/collect-mono-src/kind.yml rename to taskcluster/kinds/collect-mono-src/kind.yml index 85e78f857..0fc7dc8f5 100644 --- a/taskcluster/ci/collect-mono-src/kind.yml +++ b/taskcluster/kinds/collect-mono-src/kind.yml @@ -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 diff --git a/taskcluster/ci/collect-mono-trg/kind.yml b/taskcluster/kinds/collect-mono-trg/kind.yml similarity index 98% rename from taskcluster/ci/collect-mono-trg/kind.yml rename to taskcluster/kinds/collect-mono-trg/kind.yml index 8d8a4c81c..4152a3464 100644 --- a/taskcluster/ci/collect-mono-trg/kind.yml +++ b/taskcluster/kinds/collect-mono-trg/kind.yml @@ -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 diff --git a/taskcluster/ci/dataset/kind.yml b/taskcluster/kinds/dataset/kind.yml similarity index 99% rename from taskcluster/ci/dataset/kind.yml rename to taskcluster/kinds/dataset/kind.yml index 411284c80..0e5bccb8c 100644 --- a/taskcluster/ci/dataset/kind.yml +++ b/taskcluster/kinds/dataset/kind.yml @@ -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 diff --git a/taskcluster/ci/docker-image/kind.yml b/taskcluster/kinds/docker-image/kind.yml similarity index 100% rename from taskcluster/ci/docker-image/kind.yml rename to taskcluster/kinds/docker-image/kind.yml diff --git a/taskcluster/ci/evaluate-quantized/kind.yml b/taskcluster/kinds/evaluate-quantized/kind.yml similarity index 99% rename from taskcluster/ci/evaluate-quantized/kind.yml rename to taskcluster/kinds/evaluate-quantized/kind.yml index 6ba35e832..a5b204c07 100644 --- a/taskcluster/ci/evaluate-quantized/kind.yml +++ b/taskcluster/kinds/evaluate-quantized/kind.yml @@ -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 diff --git a/taskcluster/ci/evaluate-teacher-ensemble/kind.yml b/taskcluster/kinds/evaluate-teacher-ensemble/kind.yml similarity index 99% rename from taskcluster/ci/evaluate-teacher-ensemble/kind.yml rename to taskcluster/kinds/evaluate-teacher-ensemble/kind.yml index 58a4691c0..64b5010c2 100644 --- a/taskcluster/ci/evaluate-teacher-ensemble/kind.yml +++ b/taskcluster/kinds/evaluate-teacher-ensemble/kind.yml @@ -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 diff --git a/taskcluster/ci/evaluate/kind.yml b/taskcluster/kinds/evaluate/kind.yml similarity index 99% rename from taskcluster/ci/evaluate/kind.yml rename to taskcluster/kinds/evaluate/kind.yml index 89cd92e35..a895dcce5 100644 --- a/taskcluster/ci/evaluate/kind.yml +++ b/taskcluster/kinds/evaluate/kind.yml @@ -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 diff --git a/taskcluster/ci/export/kind.yml b/taskcluster/kinds/export/kind.yml similarity index 98% rename from taskcluster/ci/export/kind.yml rename to taskcluster/kinds/export/kind.yml index 1e3c48c41..c4eb684d5 100644 --- a/taskcluster/ci/export/kind.yml +++ b/taskcluster/kinds/export/kind.yml @@ -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 diff --git a/taskcluster/ci/extract-best/kind.yml b/taskcluster/kinds/extract-best/kind.yml similarity index 98% rename from taskcluster/ci/extract-best/kind.yml rename to taskcluster/kinds/extract-best/kind.yml index 9b86a47cd..89f07d664 100644 --- a/taskcluster/ci/extract-best/kind.yml +++ b/taskcluster/kinds/extract-best/kind.yml @@ -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 diff --git a/taskcluster/ci/fetch/bicleaner.yml b/taskcluster/kinds/fetch/bicleaner.yml similarity index 100% rename from taskcluster/ci/fetch/bicleaner.yml rename to taskcluster/kinds/fetch/bicleaner.yml diff --git a/taskcluster/ci/fetch/kind.yml b/taskcluster/kinds/fetch/kind.yml similarity index 92% rename from taskcluster/ci/fetch/kind.yml rename to taskcluster/kinds/fetch/kind.yml index 7bbd231ae..0ea2497b8 100644 --- a/taskcluster/ci/fetch/kind.yml +++ b/taskcluster/kinds/fetch/kind.yml @@ -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: diff --git a/taskcluster/ci/fetch/python.yml b/taskcluster/kinds/fetch/python.yml similarity index 100% rename from taskcluster/ci/fetch/python.yml rename to taskcluster/kinds/fetch/python.yml diff --git a/taskcluster/ci/fetch/toolchains.yml b/taskcluster/kinds/fetch/toolchains.yml similarity index 100% rename from taskcluster/ci/fetch/toolchains.yml rename to taskcluster/kinds/fetch/toolchains.yml diff --git a/taskcluster/ci/finetune-student/kind.yml b/taskcluster/kinds/finetune-student/kind.yml similarity index 99% rename from taskcluster/ci/finetune-student/kind.yml rename to taskcluster/kinds/finetune-student/kind.yml index b7f447fa0..0d5c0c8ad 100644 --- a/taskcluster/ci/finetune-student/kind.yml +++ b/taskcluster/kinds/finetune-student/kind.yml @@ -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 diff --git a/taskcluster/ci/merge-corpus/kind.yml b/taskcluster/kinds/merge-corpus/kind.yml similarity index 98% rename from taskcluster/ci/merge-corpus/kind.yml rename to taskcluster/kinds/merge-corpus/kind.yml index 043b5c30a..36bba8baa 100644 --- a/taskcluster/ci/merge-corpus/kind.yml +++ b/taskcluster/kinds/merge-corpus/kind.yml @@ -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 diff --git a/taskcluster/ci/merge-devset/kind.yml b/taskcluster/kinds/merge-devset/kind.yml similarity index 98% rename from taskcluster/ci/merge-devset/kind.yml rename to taskcluster/kinds/merge-devset/kind.yml index 035fbc56f..0304f3fb5 100644 --- a/taskcluster/ci/merge-devset/kind.yml +++ b/taskcluster/kinds/merge-devset/kind.yml @@ -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 diff --git a/taskcluster/ci/merge-mono/kind.yml b/taskcluster/kinds/merge-mono/kind.yml similarity index 98% rename from taskcluster/ci/merge-mono/kind.yml rename to taskcluster/kinds/merge-mono/kind.yml index 3ed082696..d8d054847 100644 --- a/taskcluster/ci/merge-mono/kind.yml +++ b/taskcluster/kinds/merge-mono/kind.yml @@ -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 diff --git a/taskcluster/ci/merge-translated/kind.yml b/taskcluster/kinds/merge-translated/kind.yml similarity index 98% rename from taskcluster/ci/merge-translated/kind.yml rename to taskcluster/kinds/merge-translated/kind.yml index 4cc432adf..94edaa8b6 100644 --- a/taskcluster/ci/merge-translated/kind.yml +++ b/taskcluster/kinds/merge-translated/kind.yml @@ -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 diff --git a/taskcluster/ci/quantize/kind.yml b/taskcluster/kinds/quantize/kind.yml similarity index 98% rename from taskcluster/ci/quantize/kind.yml rename to taskcluster/kinds/quantize/kind.yml index 78b2b8135..5f1df9aa2 100644 --- a/taskcluster/ci/quantize/kind.yml +++ b/taskcluster/kinds/quantize/kind.yml @@ -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 diff --git a/taskcluster/ci/score/kind.yml b/taskcluster/kinds/score/kind.yml similarity index 98% rename from taskcluster/ci/score/kind.yml rename to taskcluster/kinds/score/kind.yml index 39b7677a7..c00c0c180 100644 --- a/taskcluster/ci/score/kind.yml +++ b/taskcluster/kinds/score/kind.yml @@ -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 diff --git a/taskcluster/ci/split-corpus/kind.yml b/taskcluster/kinds/split-corpus/kind.yml similarity index 98% rename from taskcluster/ci/split-corpus/kind.yml rename to taskcluster/kinds/split-corpus/kind.yml index 4c1c96d84..947307576 100644 --- a/taskcluster/ci/split-corpus/kind.yml +++ b/taskcluster/kinds/split-corpus/kind.yml @@ -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 diff --git a/taskcluster/ci/split-mono-src/kind.yml b/taskcluster/kinds/split-mono-src/kind.yml similarity index 98% rename from taskcluster/ci/split-mono-src/kind.yml rename to taskcluster/kinds/split-mono-src/kind.yml index e848d961f..b2c4276b1 100644 --- a/taskcluster/ci/split-mono-src/kind.yml +++ b/taskcluster/kinds/split-mono-src/kind.yml @@ -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 diff --git a/taskcluster/ci/split-mono-trg/kind.yml b/taskcluster/kinds/split-mono-trg/kind.yml similarity index 98% rename from taskcluster/ci/split-mono-trg/kind.yml rename to taskcluster/kinds/split-mono-trg/kind.yml index b4cc3a7d3..fa2e3167f 100644 --- a/taskcluster/ci/split-mono-trg/kind.yml +++ b/taskcluster/kinds/split-mono-trg/kind.yml @@ -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 diff --git a/taskcluster/ci/tests/kind.yml b/taskcluster/kinds/tests/kind.yml similarity index 99% rename from taskcluster/ci/tests/kind.yml rename to taskcluster/kinds/tests/kind.yml index a7ef86bcb..d8a9352c4 100644 --- a/taskcluster/ci/tests/kind.yml +++ b/taskcluster/kinds/tests/kind.yml @@ -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: diff --git a/taskcluster/ci/toolchain/kind.yml b/taskcluster/kinds/toolchain/kind.yml similarity index 98% rename from taskcluster/ci/toolchain/kind.yml rename to taskcluster/kinds/toolchain/kind.yml index aec295fea..02a5f4ced 100644 --- a/taskcluster/ci/toolchain/kind.yml +++ b/taskcluster/kinds/toolchain/kind.yml @@ -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 diff --git a/taskcluster/ci/train-backwards/kind.yml b/taskcluster/kinds/train-backwards/kind.yml similarity index 99% rename from taskcluster/ci/train-backwards/kind.yml rename to taskcluster/kinds/train-backwards/kind.yml index ce757464e..99aa691b3 100644 --- a/taskcluster/ci/train-backwards/kind.yml +++ b/taskcluster/kinds/train-backwards/kind.yml @@ -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 diff --git a/taskcluster/ci/train-student/kind.yml b/taskcluster/kinds/train-student/kind.yml similarity index 98% rename from taskcluster/ci/train-student/kind.yml rename to taskcluster/kinds/train-student/kind.yml index 32f02a68b..822c006b1 100644 --- a/taskcluster/ci/train-student/kind.yml +++ b/taskcluster/kinds/train-student/kind.yml @@ -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 diff --git a/taskcluster/ci/train-teacher/kind.yml b/taskcluster/kinds/train-teacher/kind.yml similarity index 99% rename from taskcluster/ci/train-teacher/kind.yml rename to taskcluster/kinds/train-teacher/kind.yml index 157682638..3d8a9bba9 100644 --- a/taskcluster/ci/train-teacher/kind.yml +++ b/taskcluster/kinds/train-teacher/kind.yml @@ -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 diff --git a/taskcluster/ci/train-vocab/kind.yml b/taskcluster/kinds/train-vocab/kind.yml similarity index 98% rename from taskcluster/ci/train-vocab/kind.yml rename to taskcluster/kinds/train-vocab/kind.yml index b4a41fac4..c321ada0c 100644 --- a/taskcluster/ci/train-vocab/kind.yml +++ b/taskcluster/kinds/train-vocab/kind.yml @@ -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 diff --git a/taskcluster/ci/translate-corpus/kind.yml b/taskcluster/kinds/translate-corpus/kind.yml similarity index 99% rename from taskcluster/ci/translate-corpus/kind.yml rename to taskcluster/kinds/translate-corpus/kind.yml index 09bbd56c9..9cdfbbc8a 100644 --- a/taskcluster/ci/translate-corpus/kind.yml +++ b/taskcluster/kinds/translate-corpus/kind.yml @@ -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 diff --git a/taskcluster/ci/translate-mono-src/kind.yml b/taskcluster/kinds/translate-mono-src/kind.yml similarity index 98% rename from taskcluster/ci/translate-mono-src/kind.yml rename to taskcluster/kinds/translate-mono-src/kind.yml index 89842ac4f..6a33ff94f 100644 --- a/taskcluster/ci/translate-mono-src/kind.yml +++ b/taskcluster/kinds/translate-mono-src/kind.yml @@ -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 diff --git a/taskcluster/ci/translate-mono-trg/kind.yml b/taskcluster/kinds/translate-mono-trg/kind.yml similarity index 99% rename from taskcluster/ci/translate-mono-trg/kind.yml rename to taskcluster/kinds/translate-mono-trg/kind.yml index 32c030c51..77477840a 100644 --- a/taskcluster/ci/translate-mono-trg/kind.yml +++ b/taskcluster/kinds/translate-mono-trg/kind.yml @@ -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 diff --git a/taskcluster/translations_taskgraph/target_tasks.py b/taskcluster/translations_taskgraph/target_tasks.py index 1a2709058..0305e858b 100644 --- a/taskcluster/translations_taskgraph/target_tasks.py +++ b/taskcluster/translations_taskgraph/target_tasks.py @@ -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"] diff --git a/taskcluster/translations_taskgraph/transforms/skip_unless_pipeline_changed.py b/taskcluster/translations_taskgraph/transforms/skip_unless_pipeline_changed.py index 7bf32a861..a109b9c4b 100644 --- a/taskcluster/translations_taskgraph/transforms/skip_unless_pipeline_changed.py +++ b/taskcluster/translations_taskgraph/transforms/skip_unless_pipeline_changed.py @@ -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.