vendor.yml (1452B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 --- 5 task-defaults: 6 worker-type: t-linux-docker-amd 7 attributes: 8 code-review: true 9 worker: 10 docker-image: {in-tree: static-analysis-build} 11 max-run-time: 1200 12 artifacts: 13 - type: file 14 name: public/code-review/issues.json 15 path: /builds/worker/issues.json 16 - type: file 17 name: public/code-review/vcs-diff.diff 18 path: /builds/worker/vcs-diff.diff 19 treeherder: 20 kind: test 21 tier: 1 22 platform: lint/opt 23 run-on-repo-type: [hg] 24 run: 25 using: run-task 26 27 rust: 28 description: Rust vendoring validation 29 treeherder: 30 symbol: rust(vendor) 31 worker: 32 env: 33 MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system 34 run: 35 cwd: '{checkout}' 36 command: >- 37 ./mach vendor rust --issues-json /builds/worker/issues.json --vcs-diff /builds/worker/vcs-diff.diff 38 fetches: 39 toolchain: 40 - linux64-cargo-vet 41 - linux64-rust 42 when: 43 files-changed: 44 - 'Cargo.lock' 45 - '**/Cargo.toml' 46 - 'python/mozbuild/mozbuild/vendor/vendor_rust.py' 47 - 'supply-chain/**' 48 - 'third_party/rust/**'