gecko-dev/taskcluster/ci/nightly-l10n/kind.yml

162 строки
6.3 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.single_dep:loader
transforms:
- taskgraph.transforms.l10n:transforms
- taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms
kind-dependencies:
- build
only-for-build-platforms:
- linux64-nightly/opt
- linux-nightly/opt
- android-api-15-nightly/opt
- macosx64-nightly/opt
- win32-nightly/opt
- win64-nightly/opt
job-template:
description:
by-build-platform:
default: Localization
android-api-15-nightly: Single Locale Repack
locales-file:
by-build-platform:
default: browser/locales/all-locales
android-api-15-nightly: mobile/locales/l10n-changesets.json
locales-per-chunk: 2
run-on-projects: ['release']
ignore-locales:
by-build-platform:
# OSX has a special locale for japanese
macosx64.*: [ja]
default: [ja-JP-mac]
run-time:
by-build-platform:
default: 36000
android-api-15-nightly: 18000
tooltool:
by-build-platform:
default: public
android-api-15-nightly: internal
macosx64-nightly: internal
win32-nightly: internal
win64-nightly: internal
index:
type: l10n
product:
by-build-platform:
default: firefox
android-api-15-nightly: mobile
job-name:
by-build-platform:
linux-nightly: linux-opt
linux64-nightly: linux64-opt
macosx64-nightly: macosx64-opt
win32-nightly: win32-opt
win64-nightly: win64-opt
android-api-15-nightly: android-api-15-opt
worker-type:
by-build-platform:
default: aws-provisioner-v1/gecko-{level}-b-linux
android-api-15-nightly: aws-provisioner-v1/gecko-{level}-b-android
win.*: aws-provisioner-v1/gecko-{level}-b-win2012
treeherder:
symbol: tc-L10n(N)
tier: 1
platform:
by-build-platform:
linux64-nightly: linux64/opt
linux-nightly: linux32/opt
macosx64-nightly: osx-cross/opt
win32-nightly: windows2012-32/opt
win64-nightly: windows2012-64/opt
android-api-15-nightly: android-4-0-armv7-api15/opt
env:
by-build-platform:
linux.*: # linux64 and 32 get same treatment here
EN_US_PACKAGE_NAME: target.tar.bz2
EN_US_BINARY_URL:
task-reference: https://queue.taskcluster.net/v1/task/<signed-build>/artifacts/public/build
MAR_TOOLS_URL:
task-reference: https://queue.taskcluster.net/v1/task/<unsigned-build>/artifacts/public/build/host/bin
macosx64-nightly:
EN_US_PACKAGE_NAME: target.dmg
EN_US_BINARY_URL:
task-reference: https://queue.taskcluster.net/v1/task/<unsigned-build>/artifacts/public/build
MAR_TOOLS_URL:
task-reference: https://queue.taskcluster.net/v1/task/<unsigned-build>/artifacts/public/build/host/bin
win.*:
EN_US_PACKAGE_NAME: target.zip
EN_US_BINARY_URL:
task-reference: https://queue.taskcluster.net/v1/task/<signed-build>/artifacts/public/build
EN_US_INSTALLER_BINARY_URL:
task-reference: https://queue.taskcluster.net/v1/task/<repackage-signed>/artifacts/public/build
MAR_TOOLS_URL:
task-reference: https://queue.taskcluster.net/v1/task/<unsigned-build>/artifacts/public/build/host/bin
android-api-15-nightly:
EN_US_PACKAGE_NAME: target.apk
EN_US_BINARY_URL:
task-reference: https://queue.taskcluster.net/v1/task/<unsigned-build>/artifacts/public/build/en-US
mozharness:
config:
by-build-platform:
linux-nightly:
- single_locale/tc_linux32.py
- taskcluster_nightly.py
linux64-nightly:
- single_locale/tc_linux64.py
- taskcluster_nightly.py
macosx64-nightly:
- single_locale/tc_macosx64.py
- taskcluster_nightly.py
win32-nightly: []
win64-nightly: []
android-api-15-nightly:
- taskcluster_nightly.py
- single_locale/{project}_android-api-15.py
- single_locale/tc_android-api-15.py
# no default, so we fail on new entries
options:
by-build-platform:
linux-nightly:
- environment-config=single_locale/production.py
- branch-config=single_locale/{project}.py
- platform-config=single_locale/linux32.py
linux64-nightly:
- environment-config=single_locale/production.py
- branch-config=single_locale/{project}.py
- platform-config=single_locale/linux64.py
macosx64-nightly:
- environment-config=single_locale/production.py
- branch-config=single_locale/{project}.py
- platform-config=single_locale/macosx64.py
win32-nightly:
- environment-config=single_locale/production.py
- branch-config=single_locale/{project}.py
- platform-config=single_locale/win32.py
- config=single_locale/tc_win32.py
- config=taskcluster_nightly.py
win64-nightly:
- environment-config=single_locale/production.py
- branch-config=single_locale/{project}.py
- platform-config=single_locale/win64.py
- config=single_locale/tc_win64.py
- config=taskcluster_nightly.py
default: [ ]
actions:
by-build-platform:
default: ['clone-locales', 'list-locales', 'setup', 'repack',
'submit-to-balrog', 'summary']
android-api-15-nightly: ['clone-locales', 'list-locales', 'setup', 'repack',
'upload-repacks', 'submit-to-balrog', 'summary']
script:
by-build-platform:
default: mozharness/scripts/desktop_l10n.py
android-api-15-nightly: mozharness/scripts/mobile_l10n.py