summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/iris/kind.yml
blob: 2f2c27739377b44bf9f211aafb77af4866de84f6 (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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
# 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:
    - taskgraph.transforms.iris:transforms
    - taskgraph.transforms.job:transforms
    - taskgraph.transforms.task:transforms

kind-dependencies:
    - build
    - fetch
    - toolchain

# These are the platforms that will run iris tests
iris-build-platforms:
    - linux64-shippable/opt
    # This is disabled while we sort out bootstrapping issues
    # - osx-shippable/opt
    - windows10-64-shippable/opt

job-defaults:
    attributes:
        retrigger: true
    dependencies:
        build:
            by-platform:
                linux64.*: build-linux64-shippable/opt
                osx.*: build-macosx64-shippable/opt
                windows10-64.*: build-win64-shippable/opt
    description: Run the iris test suite's {} tests
    notify:
        email:
            by-project:
                mozilla-central:
                    subject: 'Iris Firefox {chunk} tests failed (mozilla-central)'
                    message: This calls for an action from the QA Automation team. Use the link to view it on Treeherder.
                    link:
                        text: Treeherder Job
                        href: '{th_root}jobs?repo={project}&revision={head_rev}{tiers}{filterstring}'
                    on-reasons: [failed]
                    emails: [iris@mozilla.com]
                default: []
    fetches:
        build:
            by-platform:
                linux64.*:
                    - target.tar.bz2
                osx.*:
                    - target.dmg
                windows10-64.*:
                    - target.zip
        fetch:
            - iris-2.0
    run:
        cwd: '{checkout}'
        command:
            by-platform:
                linux64.*: >-
                    ./taskcluster/scripts/iris/run-iris-linux.sh
                osx.*: >-
                    ./taskcluster/scripts/iris/run-iris-macos.sh
                windows10-64.*: >-
                    ./taskcluster/scripts/iris/run-iris-windows.sh
        using: run-task
        tooltool-downloads: public
    run-on-projects: []
    treeherder:
        kind: test
        platform:
            by-platform:
                linux64.*: linux64-shippable/opt
                osx.*: macosx1014-64-shippable/opt
                windows10-64.*: windows10-64-shippable/opt
        tier: 3
    worker:
        docker-image:
            by-platform:
                linux64.*:
                    in-tree: debian10-test-iris
                default: null
        artifacts:
            by-platform:
                linux64.*:
                    - type: file
                      name: public/runs.zip
                      path: /builds/worker/runs.zip
                osx.*:
                    - type: file
                      name: public/runs.zip
                      path: runs.zip
                windows10-64.*:
                    - type: file
                      name: public/runs.zip
                      path: runs.zip
        env:
            PATH:
                by-platform:
                    windows10-64.*: "%PATH%;%USERPROFILE%\\scoop\\shims"
                    default: null
        max-run-time:
            by-name:
                # Some chunks need longer to complete than others
                bookmark.*: 10800
                download_manager.*: 7200
                history.*: 10800
                default: 5400
    worker-type:
        by-platform:
            linux64.*: t-linux-xlarge
            osx.*: t-osx-1014
            windows10-64.*: t-win10-64

jobs:
    anti_tracking:
        name: anti_tracking
        treeherder:
            symbol: iris(at)
    antivirus:
        name: antivirus
        treeherder:
            symbol: iris(av)
    awesomebar:
        name: awesomebar
        treeherder:
            symbol: iris(ab)
    bookmark:
        name: bookmark
        treeherder:
            symbol: iris(bm)
    ci_tests:
        name: ci_tests
        treeherder:
            symbol: iris(ct)
    content_scroll:
        name: content_scroll
        treeherder:
            symbol: iris(cs)
    download_manager:
        name: download_manager
        treeherder:
            symbol: iris(dm)
    drag_and_drop:
        name: drag_and_drop
        treeherder:
            symbol: iris(dnd)
    find_toolbar:
        name: find_toolbar
        treeherder:
            symbol: iris(ft)
    history:
        name: history
        treeherder:
            symbol: iris(h)
    in_browser_pdf:
        name: in_browser_pdf
        treeherder:
            symbol: iris(ibp)
    # Nightly is a special case running a subset of tests as a smoketest of the
    # entire test suite. Giving it a capital initial as a symbol will make
    # Treeherder sort it in front of the other chunks for visibility.
    nightly:
        name: nightly
        treeherder:
            symbol: iris(N)
    plugin_compatibility:
        name: plugin_compatibility
        treeherder:
            symbol: iris(pc)
    prefs:
        name: prefs
        treeherder:
            symbol: iris(p)
    private_browsing:
        name: private_browsing
        treeherder:
            symbol: iris(pb)
    safe_browsing:
        name: safe_browsing
        treeherder:
            symbol: iris(sb)
    search_and_update:
        name: search_and_update
        treeherder:
            symbol: iris(sau)
    session_restore:
        name: session_restore
        treeherder:
            symbol: iris(sr)
    themes:
        name: themes
        treeherder:
            symbol: iris(t)
    toolbars_window_controls:
        name: toolbars_window_controls
        treeherder:
            symbol: iris(twc)
    unit_tests:
        name: unit_tests
        treeherder:
            symbol: iris(ut)
    zoom_indicator:
        name: zoom_indicator
        treeherder:
            symbol: iris(zi)