summaryrefslogtreecommitdiffstats
path: root/taskcluster/kinds/android-l10n/kind.yml
blob: 774be4053c94628775f71f0e40c22c6f2d5f9e3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 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: gecko_taskgraph.loader.transform:loader

transforms:
    - gecko_taskgraph.transforms.task:transforms

job-defaults:
    run-on-projects: []
    treeherder:
        kind: build
        platform: fenix-android-all/opt
        tier: 1
    worker-type: tree
    worker:
        implementation: treescript
        tags: []
        bump: false
        dontbuild: false
        push: true

jobs:
    import:
        name: android_l10n_import
        description: Import strings from android-l10n repo
        treeherder:
            symbol: android-l10n(I)
        worker:
            ignore-closed-tree: true
            source-repo: https://hg.mozilla.org/integration/autoland
            android-l10n-import-info:
                from-repo-url: https://github.com/mozilla-l10n/android-l10n
                toml-info:
                    - toml-path: mozilla-mobile/fenix/l10n.toml
                      dest-path: mobile/android/fenix
                    - toml-path: mozilla-mobile/focus-android/l10n.toml
                      dest-path: mobile/android/focus-android
                    - toml-path: mozilla-mobile/android-components/l10n.toml
                      dest-path: mobile/android/android-components

    sync:
        name: android_l10n_sync
        description: Sync android-l10n strings from central to beta
        treeherder:
            symbol: android-l10n(S)
        worker:
            ignore-closed-tree: false
            source-repo: https://hg.mozilla.org/releases/mozilla-beta
            android-l10n-sync-info:
                from-repo-url: https://hg.mozilla.org/mozilla-central
                toml-info:
                    - toml-path: mobile/android/fenix/l10n.toml
                    - toml-path: mobile/android/focus-android/l10n.toml
                    - toml-path: mobile/android/android-components/l10n.toml