diff options
author | 2024-09-29 21:47:04 +0100 | |
---|---|---|
committer | 2024-09-29 21:52:15 +0100 | |
commit | 1d9d4179e986e784276ad1194b06f02b997b4bca (patch) | |
tree | e7587c3190d7350c96939de3a4d42490dc7ff127 /builders/jiji/binhost-update | |
parent | enable variant builds for all builders, and include lucky run (diff) | |
download | binhost-1d9d4179e986e784276ad1194b06f02b997b4bca.tar.gz binhost-1d9d4179e986e784276ad1194b06f02b997b4bca.tar.bz2 binhost-1d9d4179e986e784276ad1194b06f02b997b4bca.zip |
builders: compress build log before uploading to paste.gentoo.zip
As requested by Eli.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'builders/jiji/binhost-update')
-rwxr-xr-x | builders/jiji/binhost-update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builders/jiji/binhost-update b/builders/jiji/binhost-update index f2da664..ee5a395 100755 --- a/builders/jiji/binhost-update +++ b/builders/jiji/binhost-update @@ -24,7 +24,7 @@ send_email() { local body if [ -n "${logfile}" ]; then - url=$(curl -F "_=@${logfile}" https://paste.gentoo.zip) + url=$(xz -c "${logfile}" | curl -F "_=<-" https://paste.gentoo.zip) body=$(printf '%b\n\n\n' "${message}"; tail -n 500 "${logfile}"; printf '\n\n\nFull build log at %s (download: %s)\n' "${logfile}" "${url}") else body=${message} |