summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/startup-test/kind.yml
blob: 652c03388193108f4692062bf782078a7333d487 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# 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

kind-dependencies:
    # We want to test the signed version of a build, to make sure
    # any startup problems or crashes caused by signing are caught
    # This means we depend on a different kind depending on the platform
    # linux
    - build-signing
    # mac
    - repackage
    # windows
    - repackage-signing

transforms:
    - gecko_taskgraph.transforms.startup_test:transforms
    - gecko_taskgraph.transforms.release:run_on_releases
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

job-defaults:
    name: startup-test
    description: Check whether or not a product crashes on startup
    run-on-projects: ['mozilla-central']
    run-on-releases: ['nightly', 'beta', 'release-rc']
    worker:
        max-run-time: 3600
    run:
        sparse-profile: mozharness
    attributes:
        build_type: opt
    treeherder:
        symbol: SUT
        kind: test
        tier: 1

jobs:
    linux32:
        dependencies:
            build-signing: build-signing-linux-shippable/opt
        run:
            using: run-task
            cwd: "{checkout}"
        extra-config:
            upstream_kind: build-signing
            upstream_artifact: target.tar.bz2
            binary: firefox
        worker-type: b-linux-gcp
        worker:
            docker-image: {in-tree: ubuntu1804-test}
        shipping-product: firefox
        attributes:
            build_platform: linux-shippable
        treeherder:
            platform: linux-shippable/opt

    linux64:
        dependencies:
            build-signing: build-signing-linux64-shippable/opt
        run:
            using: run-task
            cwd: "{checkout}"
        extra-config:
            upstream_kind: build-signing
            upstream_artifact: target.tar.bz2
            binary: firefox
        worker-type: b-linux-gcp
        worker:
            docker-image: {in-tree: ubuntu1804-test}
        shipping-product: firefox
        attributes:
            build_platform: linux64-shippable
        treeherder:
            platform: linux64-shippable/opt

    macosx64:
        dependencies:
            repackage: repackage-macosx64-shippable/opt
        run:
            using: mach
            python-version: 3
        extra-config:
            upstream_kind: repackage
            upstream_artifact: target.dmg
            binary: Contents/MacOS/firefox
        worker-type: t-osx-1015-r8
        shipping-product: firefox
        attributes:
            build_platform: macosx64-shippable
        treeherder:
            platform: macosx64-shippable/opt

    win32:
        dependencies:
            repackage-signing: repackage-signing-win32-shippable/opt
        run:
            using: mach
            python-version: 3
        extra-config:
            upstream_kind: repackage-signing
            upstream_artifact: target.installer.exe
            binary: core/firefox.exe
        worker-type: win10-64-2004-source
        shipping-product: firefox
        attributes:
            build_platform: win32-shippable
        treeherder:
            platform: windows2012-32-shippable/opt

    win64:
        dependencies:
            repackage-signing: repackage-signing-win64-shippable/opt
        run:
            using: mach
            python-version: 3
        extra-config:
            upstream_kind: repackage-signing
            upstream_artifact: target.installer.exe
            binary: core/firefox.exe
        worker-type: win10-64-2004-source
        shipping-product: firefox
        attributes:
            build_platform: win64-shippable
        treeherder:
            platform: windows2012-64-shippable/opt