gzip’ed artifact

This commit is contained in:
Simon Sapin 2018-08-30 14:53:19 +02:00
parent 59ab0f85d5
commit adb4f10d80
2 changed files with 4 additions and 3 deletions

View file

@ -5,3 +5,4 @@ export PATH="$HOME/.cargo/bin:$PATH"
cd something-rust cd something-rust
cargo run --release cargo run --release
gzip -c target/release/something-rust > something-rust.gz

View file

@ -34,10 +34,10 @@ payload = {
""" % os.environ, """ % os.environ,
], ],
"artifacts": { "artifacts": {
"public/executable": { "public/executable.gz": {
"type": "file", "type": "file",
"path": "/repo/something-rust/target/release/something-rust", "path": "/repo/something-rust/something-rust.gz",
"expires": taskcluster.fromNowJSON("1 month"), "expires": taskcluster.fromNowJSON("1 week"),
}, },
}, },
}, },