diff --git a/child-task.sh b/child-task.sh index 8a5f05f8283..404bf5f0ba5 100755 --- a/child-task.sh +++ b/child-task.sh @@ -5,3 +5,4 @@ export PATH="$HOME/.cargo/bin:$PATH" cd something-rust cargo run --release +gzip -c target/release/something-rust > something-rust.gz diff --git a/decision-task.py b/decision-task.py index 7f887ba8a0b..9bc12df259a 100644 --- a/decision-task.py +++ b/decision-task.py @@ -34,10 +34,10 @@ payload = { """ % os.environ, ], "artifacts": { - "public/executable": { + "public/executable.gz": { "type": "file", - "path": "/repo/something-rust/target/release/something-rust", - "expires": taskcluster.fromNowJSON("1 month"), + "path": "/repo/something-rust/something-rust.gz", + "expires": taskcluster.fromNowJSON("1 week"), }, }, },