summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/source-test/codeql.yml
blob: 92843560beae19bd993ed17da0fd4429aaacd551 (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
# 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/.
---
javascript:
    description: Builds a JavaScript codeql database
    platform: codeql/all
    treeherder:
        kind: other
        symbol: linux64-js
        tier: 2
    worker-type: b-linux-xlarge
    expires-after: 4 days
    worker:
        docker-image: {in-tree: debian8-amd64-build}
        max-run-time: 86400
        artifacts:
            - type: file
              name: public/codeql/codeql-db-javascript.tar.xz
              path: /builds/worker/codeql-db-javascript.tar.xz
    run:
        using: run-task
        cwd: '{checkout}'
        command: >-
            taskcluster/scripts/misc/generate-codeql-db-javascript.sh
    run-on-projects: []
    shipping-phase: ship
    shipping-product: firefox
    fetches:
        fetch:
            - codeql-2.0.3
        toolchain:
            - linux64-node
    notifications:
        subject: '{task[shipping-product]} {release_config[version]} build{release_config[build_number]}/{config[params][project]} linux64 codeql-javascript status'
        message: '{task[shipping-product]} {release_config[version]} build{release_config[build_number]}/{config[params][project]} linux64 codeql-javascript status'
        status-types:
            - on-completed
            - on-failed
            - on-exception
        emails:
            by-project:
                mozilla-release: ["tom@mozilla.com", "freddy@mozilla.com"]
                try: ["{config[params][owner]}"]
                default: []