mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
0c8e4be1c2
Copy the repack_rust.py from the rust-build docker container so it can be used more generally by other taskcluster jobs. Add --host, --target, and --suffix switches, allowing control of the packaged toolchain and standard library builds from the command line. This drops the previous default behaviour of packaging all supported platforms and targets. Add a hard-coded copy of the Rust release signing key to the script and add it to the running user's gpg config so we can validate downloaded artifacts from the project in automation. Remove the keybase artifact validation since it requires out-of-project network services and doesn't provide much advantage in automation. Calculate the SHA-2 checksum during download and remove the dependency on shasum/sha256sum command-line tools. Use more python for filesystem an process interaction in general. Create a generic rustc.tar.* package to correctly match the unversioned unpack dirctory name. Add support for copying the package to an output directory if the UPLOAD_DIR environment variable is set. This lets us hook up the script to taskcluster toolchain jobs without an external wrapper. MozReview-Commit-ID: 68LmY3QVU8V --HG-- extra : rebase_source : f6329056d518ad2cd25faa5c71b22130cbc65c8f |
||
---|---|---|
.. | ||
builder | ||
misc | ||
tester | ||
copy.sh |