There's a lot here. The main thing is that rather than invoking `INNER_UNMAKE_PACKAGE`, we use the new `mach artifact install --unfiltered-project-package` flag to do that work. In automation, this gets configured using `MOZ_ARTIFACT_TASK` and is deterministic; locally, this is far easier to work with. This replacement allows us to clean up a bunch of Makefile goo, some of which is done here. More clean up is surely possible; the `mozharness` config files are a good place to look next. The `MOZ_PKG_MAC_*` settings previously referred to the unpacked DMG resources. There's no need for that complication; we can always take them from the branding resources. (The relevant `mozconfig` entries *look* to always have Nightly branding, but merge automation ensures that the branding is correctly set for Beta and Release.) Differential Revision: https://phabricator.services.mozilla.com/D249448
139 lines
4.9 KiB
YAML
139 lines
4.9 KiB
YAML
# 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
|
|
- gecko_taskgraph.transforms.l10n
|
|
- gecko_taskgraph.transforms.job
|
|
- gecko_taskgraph.transforms.task
|
|
|
|
kind-dependencies:
|
|
- build
|
|
- build-signing
|
|
- fetch
|
|
- repackage
|
|
- toolchain
|
|
|
|
only-for-build-platforms:
|
|
- linux64/opt
|
|
- linux64-aarch64/opt
|
|
- linux/opt
|
|
- macosx64/opt
|
|
- win32/opt
|
|
- win64/opt
|
|
|
|
tasks:
|
|
l10n:
|
|
description: Localization
|
|
from-deps:
|
|
group-by: platform
|
|
locales-file: browser/locales/l10n-onchange-changesets.json
|
|
ignore-locales:
|
|
by-build-platform:
|
|
# OSX has a special locale for japanese
|
|
macosx64.*: [ja]
|
|
default: [ja-JP-mac]
|
|
run-time:
|
|
by-build-platform:
|
|
default: 900
|
|
win.*: 1800
|
|
secrets: false
|
|
fetches:
|
|
toolchain:
|
|
by-build-platform:
|
|
default: []
|
|
macosx64.*:
|
|
- linux64-libdmg
|
|
- linux64-hfsplus
|
|
win.*:
|
|
- linux64-wine
|
|
- nsis
|
|
fetch:
|
|
by-build-platform:
|
|
default: []
|
|
win.*:
|
|
- upx-3.95-win
|
|
tooltool:
|
|
by-build-platform:
|
|
default: internal
|
|
linux.*: public
|
|
index:
|
|
type: l10n
|
|
product: firefox
|
|
job-name:
|
|
by-build-platform:
|
|
linux(?!64).*: linux-opt
|
|
linux64(?!-aarch64).*: linux64-opt
|
|
linux64-aarch64.*: linux64-aarch64-opt
|
|
macosx64.*: macosx64-opt
|
|
win32.*: win32-opt
|
|
win64.*: win64-opt
|
|
run-on-projects:
|
|
by-build-platform:
|
|
linux(?!64).*: ['release'] # Do not run on autoland - Bug 1599197
|
|
default: ['all']
|
|
worker-type: b-linux-gcp
|
|
treeherder:
|
|
symbol: L10n
|
|
tier: 1
|
|
platform:
|
|
by-build-platform:
|
|
linux64: linux64/opt
|
|
linux64-aarch64: linux64-aarch64/opt
|
|
linux: linux32/opt
|
|
macosx64: osx-cross/opt
|
|
win32: windows2012-32/opt
|
|
win64: windows2012-64/opt
|
|
env:
|
|
by-build-platform:
|
|
linux.*:
|
|
MOZ_ARTIFACT_TASK: {task-reference: '<build-signing>'}
|
|
macosx64.*:
|
|
MOZ_ARTIFACT_TASK: {task-reference: '<repackage>'}
|
|
win.*:
|
|
MOZ_ARTIFACT_TASK: {task-reference: '<build-signing>'}
|
|
mozharness:
|
|
config:
|
|
by-build-platform:
|
|
linux(?!64).*:
|
|
- single_locale/firefox.py
|
|
- single_locale/linux32.py
|
|
- single_locale/tc_common.py
|
|
- single_locale/tc_linux_common.py
|
|
linux64.*:
|
|
- single_locale/firefox.py
|
|
- single_locale/linux64.py
|
|
- single_locale/tc_common.py
|
|
- single_locale/tc_linux_common.py
|
|
macosx64.*:
|
|
- single_locale/firefox.py
|
|
- single_locale/macosx64.py
|
|
- single_locale/tc_common.py
|
|
- single_locale/tc_macosx64.py
|
|
win32.*:
|
|
- single_locale/firefox.py
|
|
- single_locale/win32.py
|
|
- single_locale/tc_common.py
|
|
- single_locale/tc_win32.py
|
|
win64.*:
|
|
- single_locale/firefox.py
|
|
- single_locale/win64.py
|
|
- single_locale/tc_common.py
|
|
- single_locale/tc_win64.py
|
|
# no default, so we fail on new entries
|
|
actions: ['clone-locales', 'list-locales', 'setup', 'repack', 'summary']
|
|
script: mozharness/scripts/desktop_l10n.py
|
|
when:
|
|
files-changed:
|
|
- browser/locales/l10n-onchange-changesets.json
|
|
- testing/mozharness/configs/single_locale/**
|
|
- testing/mozharness/mozharness/mozilla/l10n/locales.py
|
|
- testing/mozharness/scripts/desktop_l10n.py
|
|
- third_party/python/compare-locales/**
|
|
- third_party/python/moz.l10n/**
|
|
- toolkit/locales/**
|
|
- toolkit/mozapps/installer/**
|