Bug 1922252 - Stop running Thunderbird cross-channel against hg.mo. r=dandarnell

Differential Revision: https://phabricator.services.mozilla.com/D224323

--HG--
extra : amend_source : 4a139efab8f0e5fca94c887da8be27b43b83f4fd
This commit is contained in:
Rob Lemley 2024-10-03 10:12:01 -07:00
Родитель 4e514030f2
Коммит 049c8be2a3
3 изменённых файлов: 0 добавлений и 98 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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": "<self>"}
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"]