file-metadata.yml 4.45 KB
Newer Older
1
2
3
4
# 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/.
---
5
6
7
job-defaults:
    platform: lint/opt
    treeherder:
8
        kind: other
9
        tier: 1
10
    worker-type: t-linux-xlarge-source
11
    worker:
12
13
14
15
        artifacts:
            - type: directory
              path: /builds/worker/artifacts
              name: public
16
17
        docker-image: {in-tree: "lint"}
        max-run-time: 1800
18
19
    run:
        using: mach
20
21
22
23
24
25
26
27
28

bugzilla-components:
    description: Generate metadata about source files and Bugzilla
    treeherder:
        symbol: Bugzilla
    index:
        product: source
        job-name: source-bugzilla-info
    run:
29
        mach: file-info bugzilla-automation /builds/worker/artifacts
30
    worker:
31
        max-run-time: 2700
32
    run-on-projects: ['mozilla-central']
33
34
    when:
        files-changed:
35
36
37
            - "**"

test-info-fission:
38
    description: Generate test manifest metadata for tests disabled on fission
39
40
41
42
43
44
    treeherder:
        symbol: test-info(fission)
        tier: 2
    index:
        product: source
        job-name: test-info-fission
45
46
    worker:
        docker-image: {in-tree: debian7-amd64-build}
47
    run-on-projects: ['mozilla-central']
48
49
50
51
52
53
54
55
    fetches:
        toolchain:
            - linux64-clang
            - linux64-clang-tidy
            - linux64-rust
            - linux64-cbindgen
            - linux64-nasm
            - linux64-node
56
    run:
57
58
59
60
        using: run-task
        cwd: '{checkout}'
        command: >-
            source taskcluster/scripts/misc/source-test-common.sh &&
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
            ./mach test-info report --show-tests --show-summary --filter-keys=fail-if,fails-if,random-if,skip-if --filter-values='(?<!!)fission' --output-file /builds/worker/artifacts/test-info-fission.json

test-info-disabled-by-os:
    description: Generate test manifest metadata for tests disabled on each operating system
    treeherder:
        symbol: test-info(disabled-by-os)
        tier: 2
    index:
        product: source
        job-name: test-info-disabled-by-os
    worker:
        docker-image: {in-tree: debian7-amd64-build}
    run-on-projects: ['mozilla-central']
    fetches:
        toolchain:
            - linux64-clang
            - linux64-clang-tidy
            - linux64-rust
            - linux64-cbindgen
            - linux64-nasm
            - linux64-node
    run:
        using: run-task
        cwd: '{checkout}'
        command: >-
            source taskcluster/scripts/misc/source-test-common.sh &&
            ./mach test-info report --show-tests --show-summary --filter-keys=fail-if,fails-if,random-if,skip-if --filter-values='(?<!!)(android|android_version|Android|AndroidVersion|geckoview|emulator|device)' --output-file /builds/worker/artifacts/test-info-disabled-on-android.json &&
            ./mach test-info report --show-tests --show-summary --filter-keys=fail-if,fails-if,random-if,skip-if --filter-values='(?<!!)(linux|Linux)' --output-file /builds/worker/artifacts/test-info-disabled-on-linux.json &&
            ./mach test-info report --show-tests --show-summary --filter-keys=fail-if,fails-if,random-if,skip-if --filter-values='(?<!!)(osx|OSX|mac)' --output-file /builds/worker/artifacts/test-info-disabled-on-mac.json &&
            ./mach test-info report --show-tests --show-summary --filter-keys=fail-if,fails-if,random-if,skip-if --filter-values='(?<!!)(win|Windows|WINNT)' --output-file /builds/worker/artifacts/test-info-disabled-on-windows.json

test-info-all:
    description: Generate global test manifest metadata
    treeherder:
        symbol: test-info(all)
        tier: 2
    index:
        product: source
        job-name: test-info-all
    worker:
        docker-image: {in-tree: debian7-amd64-build}
102
        max-run-time: 5400
103
104
105
106
107
108
109
110
111
112
113
114
115
116
    run-on-projects: ['mozilla-central']
    fetches:
        toolchain:
            - linux64-clang
            - linux64-clang-tidy
            - linux64-rust
            - linux64-cbindgen
            - linux64-nasm
            - linux64-node
    run:
        using: run-task
        cwd: '{checkout}'
        command: >-
            source taskcluster/scripts/misc/source-test-common.sh &&
117
            ./mach test-info report --show-tests --show-summary --show-activedata --verbose --output-file /builds/worker/artifacts/test-info-all-tests.json &&
118
            ./mach test-info report --show-annotations --output-file /builds/worker/artifacts/test-info-manifest-conditions.json