Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump translate-toolkit from 3.13.0 to 3.13.1 #255

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1055,9 +1055,9 @@ texttable==1.7.0 \
# via
# aqtinstall
# py7zr
translate-toolkit==3.13.0 \
--hash=sha256:375e96e5af8a4942ed1f21ef70ae55c0435602e223eede2f0f4a14f2779e75c7 \
--hash=sha256:d31a1191894d0ad4ed99697663f1462e9a1820af3bbcf6848235add20cc00e62
translate-toolkit==3.13.1 \
--hash=sha256:31e9d0e207c58c6d485a6c42898b26d875428e3d8bf0fb9c22a528c70829ac2e \
--hash=sha256:4f1e56668dc01fb0967d8c6fee11984869353f849036c4b1a130db64eaf26730
# via -r requirements.in
urllib3==2.0.7 \
--hash=sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 \
Expand Down
8 changes: 8 additions & 0 deletions taskcluster/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ workers:
implementation: beetmover-import-from-gcs-to-artifact-registry
os: scriptworker
worker-type: 'mozillavpn-{level}-beetmover'
shipit:
provisioner: scriptworker-k8s
implementation: scriptworker-shipit
os: scriptworker
worker-type: 'mozillavpn-{level}-shipit'
succeed:
provisioner: built-in
implementation: succeed
Expand All @@ -126,3 +131,6 @@ release-promotion:
- fetch
- toolchain
- toolchain-openssl

shipit:
scope-prefix: project:mozillavpn:releng:ship-it
29 changes: 29 additions & 0 deletions taskcluster/kinds/mark-as-shipped/kind.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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:
- taskgraph.transforms.from_deps
- mozillavpn_taskgraph.transforms.set_name
- mozilla_taskgraph.transforms.scriptworker.shipit.mark_as_shipped
- taskgraph.transforms.task

kind-dependencies:
- beetmover-ship

tasks:
mark-as-shipped:
worker-type: shipit
from-deps:
group-by:
attribute: shipping-phase
copy-attributes: true
unique-kinds: false
set-name: false
shipit-product:
by-build-type:
addons/opt: mozilla-vpn-addons
default: mozilla-vpn-client
run-on-tasks-for: [action]
20 changes: 20 additions & 0 deletions taskcluster/mozillavpn_taskgraph/transforms/set_name.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from taskgraph.transforms.base import TransformSequence
from taskgraph.util.dependencies import get_primary_dependency


transforms = TransformSequence()


@transforms.add
def set_name(config, tasks):
for task in tasks:
if config.kind == "mark-as-shipped":
dep = get_primary_dependency(config, task)
assert dep

product = (
"addons" if dep.attributes["build-type"] == "addons/opt" else "client"
)
task["name"] = f"mark-as-shipped-{product}"

yield task