taskcluster/ci/l10n/kind.yml
author Justin Wood <Callek@gmail.com>
Wed, 19 Apr 2017 10:40:32 -0400
changeset 565437 355ca99f578f7795c65081f444bc5882754b0c77
parent 565436 fd14b7487c61d3d2684887e16d8289c0eaed6b1e
child 571529 20b4a94c1c3cdc46df59de2f22c143c1d7b086a1
child 585067 7601e5d2b80e70d88716fac35c9ee4b52e30d102
child 586571 816ba623ba730aa672803bbf6a25450265d7aaf6
permissions -rw-r--r--
Bug 1357867 - Run l10n tasks to completion for OSX cross compile. And report on correct treeherder line. r=dustin MozReview-Commit-ID: JZD2xs3WQF6

# 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/opt
   - linux/opt
   - android-api-15/opt
   #- macosx64/opt

job-template:
   description:
      by-build-platform:
         default: Localization
         android-api-15-l10n: Single Locale Repack
   locales-file:
      by-build-platform:
         default: browser/locales/all-locales
         android-api-15-l10n: mobile/locales/l10n-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: 36000
         android-api-15-l10n: 18000
   tooltool:
      by-build-platform:
         default: public
         android-api-15-l10n: internal
         macosx64-nightly: internal
   index:
      type: l10n
      product:
         by-build-platform:
            default: firefox
            android-api-15-l10n: mobile
      job-name:
         by-build-platform:
            linux-l10n: linux-opt
            linux64-l10n: linux64-opt
            macosx64: macosx64-opt
            android-api-15-l10n: android-api-15-opt
   worker-type:
      by-build-platform:
         default: aws-provisioner-v1/gecko-{level}-b-linux
         android: aws-provisioner-v1/gecko-{level}-b-android
   treeherder:
      symbol: tc(L10n)
      tier:
         by-build-platform:
            default: 2
      platform:
         by-build-platform:
            linux64-l10n: linux64/opt
            linux-l10n: linux32/opt
            macosx64: osx-10-7/opt
            android-api-15-l10n: android-4-0-armv7-api15/opt
   mozharness:
      config:
         by-build-platform:
            linux-l10n:
               - single_locale/tc_linux32.py
            linux64-l10n:
               - single_locale/tc_linux64.py
            macosx64:
               - single_locale/tc_macosx64.py
            android-api-15-l10n:
               - 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-l10n:
               - environment-config=single_locale/production.py
               - branch-config=single_locale/{project}.py
               - platform-config=single_locale/linux32.py
               - total-chunks=1
               - this-chunk=1
            linux64-l10n:
               - environment-config=single_locale/production.py
               - branch-config=single_locale/{project}.py
               - platform-config=single_locale/linux64.py
               - total-chunks=1
               - this-chunk=1
            macosx64:
               - environment-config=single_locale/production.py
               - branch-config=single_locale/{project}.py
               - platform-config=single_locale/macosx64.py
               - total-chunks=1
               - this-chunk=1
            default:
               - total-chunks=1
               - this-chunk=1
      actions:
         by-build-platform:
            default: [clone-locales list-locales setup repack summary]
            android-api-15-l10n: [clone-locales list-locales setup repack
                                  upload-repacks summary]
      script:
         by-build-platform:
            default: mozharness/scripts/desktop_l10n.py
            android-api-15-l10n: mozharness/scripts/mobile_l10n.py
   when:
      files-changed:
         - browser/locales/all-locales
         - python/compare-locales/**
         - testing/mozharness/configs/single_locale/**
         - testing/mozharness/mozharness/mozilla/l10n/locales.py
         - testing/mozharness/scripts/desktop_l10n.py
         - toolkit/locales/**
         - toolkit/mozapps/installer/**