summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/source-test/vendor.yml
blob: c6594c6f68f9eea0a998b8f1e233f086a5a1752d (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
# 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/.
---
job-defaults:
    worker-type: t-linux-xlarge-source
    attributes:
        code-review: true
    worker:
        docker-image: {in-tree: static-analysis-build}
        max-run-time: 1200
        artifacts:
            - type: file
              name: public/code-review/issues.json
              path: /builds/worker/issues.json
    treeherder:
        kind: test
        tier: 1
    platform: lint/opt
    run:
        using: run-task

rust:
    description: Rust vendoring validation
    treeherder:
        symbol: rust(vendor)
    worker:
        env:
            MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system
    run:
        cwd: '{checkout}'
        command: >-
            ./mach vendor rust --issues-json /builds/worker/issues.json
    fetches:
        toolchain:
            - linux64-cargo-vet
            - linux64-rust
    when:
        files-changed:
            - 'Cargo.lock'
            - '**/Cargo.toml'
            - 'python/mozbuild/mozbuild/vendor/vendor_rust.py'
            - 'supply-chain/**'
            - 'third_party/rust/**'