kind.yml 2.5 KB
Newer Older
1
2
3
4
5
6
7
# 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:
8
    - fenix_taskgraph.transforms.nimbledroid:transforms
9
10
11
12
    - taskgraph.transforms.job:transforms
    - taskgraph.transforms.task:transforms

kind-dependencies:
13
    - signing
14
15


16
17
18
19
20
21
job-defaults:
    description: Upload APKs to Nimbledroid for performance measurement and tracking
    run:
        using: run-commands
        use-caches: false
        secrets:
22
23
24
25
26
27
28
29
30
31
32
            by-level:
                '3':
                    - name: project/mobile/fenix/nimbledroid
                      key: api_key
                      path: .nimbledroid_token
                default: []
        pre-commands:
            by-level:
              '3': []
              default:
                - [echo, '--', '>', .nimbledroid_token]
33
34
35
36
37
38
39
40
41
42
    run-on-tasks-for: []
    treeherder:
        kind: test
        platform: android-all/opt
        tier: 2
    worker:
        docker-image: {in-tree: nimbledroid}
        max-run-time: 600
    worker-type: b-android

43
44
45
46
jobs:
    nightly:
        attributes:
            nightly: true
47
48
49
50
        dependencies:
            signing: signing-nightly
        run:
            commands:
51
52
                - [wget, {artifact-reference: '<signing/public/build/armeabi-v7a/geckoNightly/target.apk>'}, '-O', target.apk]
                - [python, automation/taskcluster/upload_apk_nimbledroid.py, target.apk, .nimbledroid_token]
53
54
        treeherder:
            symbol: nightly(nimbledroid)
55

56
57
58
    production:
        attributes:
            release-type: production
59
        dependencies:
60
61
62
63
64
65
66
67
68
69
70
            signing: signing-production
        run:
            commands:
                - [wget, {artifact-reference: '<signing/public/build/armeabi-v7a/geckoBeta/target.apk>'}, '-O', target.apk]
                - [python, automation/taskcluster/upload_apk_nimbledroid.py, target.apk, .nimbledroid_token]
        treeherder:
            symbol: production(nimbledroid)

    beta:
        attributes:
            release-type: beta
71
        dependencies:
72
73
74
75
            signing: signing-beta
        run:
            commands:
                - [wget, {artifact-reference: '<signing/public/build/armeabi-v7a/geckoBeta/target.apk>'}, '-O', target.apk]
76
                - [python, automation/taskcluster/upload_apk_nimbledroid.py, target.apk, .nimbledroid_token]
77
        treeherder:
78
            symbol: beta(nimbledroid)