diff --git a/.cron.yml b/.cron.yml index 84a675fa7d..2d49cfe9c3 100644 --- a/.cron.yml +++ b/.cron.yml @@ -81,16 +81,6 @@ jobs: comm-beta: [{hour: 9, minute: 00}] # No default - - name: l10n-cross-channel - job: - type: decision-task - treeherder-symbol: l10n-cross-channel - target-tasks-method: l10n-cross-channel - run-on-projects: - - comm-central - when: [{hour: 12, minute: 0}] - # when: [] - - name: tb-rust-vendor-check job: type: decision-task diff --git a/taskcluster/comm_taskgraph/transforms/tb_cross_channel.py b/taskcluster/comm_taskgraph/transforms/tb_cross_channel.py deleted file mode 100644 index ecdfd577af..0000000000 --- a/taskcluster/comm_taskgraph/transforms/tb_cross_channel.py +++ /dev/null @@ -1,46 +0,0 @@ -# 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/. -""" -Build a command to run `mach tb-l10n-x-channel`. -""" - -from shlex import quote as shell_quote - -from taskgraph.transforms.base import TransformSequence -from taskgraph.util.schema import resolve_keyed_by - -from rocbuild.notify import TB_BUILD_ADDR - -transforms = TransformSequence() - - -@transforms.add -def resolve_keys(config, jobs): - for job in jobs: - for item in ["ssh-key-secret", "run.actions"]: - resolve_keyed_by(job, item, item, **{"level": str(config.params["level"])}) - yield job - - -@transforms.add -def build_command(config, jobs): - for job in jobs: - command = [ - "tb-l10n-x-channel", - "-o", - "/builds/worker/artifacts/outgoing.diff", - "--attempts", - "5", - ] - ssh_key_secret = job.pop("ssh-key-secret") - if ssh_key_secret: - command.extend(["--ssh-secret", ssh_key_secret]) - job.setdefault("scopes", []).append(f"secrets:get:{ssh_key_secret}") - job["scopes"].append(f"notify:email:{TB_BUILD_ADDR}") - - command.extend(job["run"].pop("actions", [])) - job.setdefault("run", {}).update( - {"using": "mach", "mach": " ".join(map(shell_quote, command))} - ) - yield job diff --git a/taskcluster/kinds/l10n-cross-channel/kind.yml b/taskcluster/kinds/l10n-cross-channel/kind.yml deleted file mode 100644 index b52717f70b..0000000000 --- a/taskcluster/kinds/l10n-cross-channel/kind.yml +++ /dev/null @@ -1,42 +0,0 @@ -# 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/. ---- -loader: taskgraph.loader.transform:loader - -transforms: - - comm_taskgraph.transforms.tb_cross_channel:transforms - - gecko_taskgraph.transforms.job:transforms - - gecko_taskgraph.transforms.task:transforms - -tasks: - quarantine: - description: Push strings from all shipping trains to comm-strings-quarantine - run-on-projects: [] - worker-type: b-linux-gcp - ssh-key-secret: - by-level: - "3": project/comm/thunderbird/releng/build/level-3/l10n-cross-channel-quarantine-ssh - default: null - worker: - docker-image: {in-tree: push-to-try} - max-run-time: 3600 - artifacts: - - type: directory - name: public/build - path: /builds/worker/artifacts - env: - TASK_ID: {"task-reference": ""} - TASKCLUSTER_PROXY_URL: http://taskcluster - treeherder: - platform: thunderbird-release/opt - tier: 1 - kind: build - symbol: Rel(l10n-cross-channel) - run: - using: mach - comm-checkout: true - actions: - by-level: - "3": ["prep", "create", "push", "clean"] - default: ["prep", "create", "clean"]