gecko-dev/taskcluster/scripts
Ralph Giles 0c8e4be1c2 Bug 1391427 - Port the repack_rust script to taskcluster. r=glandium
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
2017-09-12 16:17:00 -07:00
..
builder Bug 1396098 - part 1 - base `android-build` on Debian instead of CentOS; r=glandium,dustin 2017-09-18 15:38:22 -04:00
misc Bug 1391427 - Port the repack_rust script to taskcluster. r=glandium 2017-09-12 16:17:00 -07:00
tester Bug 1389715 - Remove legacy Ubuntu 12.04 desktop-test image; r=jmaher 2017-08-14 16:04:18 -07:00
copy.sh