summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/hazard/kind.yml
blob: 4849cdbd64a3b613c8fff7d0e451894924228961 (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
# 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/.

implementation: taskgraph.task.transform:TransformTask

transforms:
   - taskgraph.transforms.build_attrs:transforms
   - taskgraph.transforms.job:transforms
   - taskgraph.transforms.task:transforms

job-defaults:
    treeherder:
        kind: build
        tier: 1
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
        docker-image: {in-tree: desktop-build}

jobs:
    linux64-shell-haz/debug:
        description: "JS Shell Hazard Analysis Linux"
        index:
            product: firefox
            job-name:
                gecko-v2: shell-haz-debug
        treeherder:
            platform: linux64/debug
            symbol: SM-tc(H)
        run:
            using: hazard
            tooltool-manifest: "browser/config/tooltool-manifests/linux64/hazard.manifest"
            command: >
                cd /home/worker/checkouts/gecko/taskcluster/scripts/builder
                && ./build-haz-linux.sh --project shell $HOME/workspace
        when:
            files-changed:
                - js/public/**
                - js/src/**

    linux64-haz/debug:
        description: "Browser Hazard Analysis Linux"
        index:
            product: firefox
            job-name:
                gecko-v2: browser-haz-debug
        treeherder:
            platform: linux64/debug
            symbol: tc(H)
        run:
            using: hazard
            tooltool-manifest: "browser/config/tooltool-manifests/linux64/hazard.manifest"
            mozconfig: "browser/config/mozconfigs/linux64/hazards"
            command: >
                cd /home/worker/checkouts/gecko/taskcluster/scripts/builder
                && ./build-haz-linux.sh --project browser $HOME/workspace