summaryrefslogtreecommitdiffstats
path: root/taskcluster/kinds/signing-apk/kind.yml
blob: 85b2f21bfdf90ccaec565b399e95817ebf0c3f37 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# 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:
    - taskgraph.transforms.from_deps
    - android_taskgraph.transforms.upstream_artifacts
    - android_taskgraph.transforms.treeherder:transforms
    - android_taskgraph.transforms.signing_android_app:transforms
    - android_taskgraph.transforms.notify:transforms
    - gecko_taskgraph.transforms.task:transforms

kind-dependencies:
    - build-apk

jobs:
    sign-apk:
        description: Sign Android APKs
        from-deps:
            copy-attributes: true
        worker:
            implementation: scriptworker-signing
        signing-format:
            by-build-type:
                (focus-.*|klar-.*): autograph_focus
                fenix-(beta|release)-mozillaonline: autograph_apk_mozillaonline
                default: autograph_apk
        index:
            by-build-type:
                (focus-nightly|focus-release|klar-release|focus-beta|fenix-nightly|fenix-debug|fenix-nightly-simulation|fenix-beta|fenix-beta-mozillaonline|fenix-release|fenix-release-mozillaonline):
                    type: generic
                    product: mobile
                default: {}
        run-on-projects: []
        treeherder:
            symbol:
                by-build-type:
                    default: Bs
                    focus-(debug|nightly|beta|release)$: Bfs
                    focus-(nightly|beta)-firebase$: Bffs
                    focus-android-test-(debug|nightly|beta)$: Bats
                    klar-.*: Bkls
                    fenix-android-test.+: Bats
                    fenix-android-test-mozillaonline: Bats-mo
                    fenix-beta-firebase: Bfs
                    fenix-nightly-firebase: Bfs
                    fenix-beta-mozillaonline: Bmos
                    fenix-release-mozillaonline: Bmos
            kind: build
            platform:
                by-build-type:
                    (fenix.*): fenix-android-all/opt
                    default: focus-android-all/opt
            tier: 1
        notify:
            by-build-type:
                .*(fenix-beta|fenix-release)-mozillaonline:
                    by-level:
                        '3':
                            email:
                                content: The Mozilla Online Fenix {version} APKs are now available
                                link:
                                    text: Taskcluster Task
                                    href: 'https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId}'
                                on-reasons: [completed]
                                subject: Mozilla Online Fenix {version} APKs are now available
                                to-addresses: [mozillaonline-fenix@mozilla.com]
                        default: {}
                default: {}