* [gentoo-commits] proj/binhost:master commit in: builders/milou/, builders/jiji/
@ 2024-08-29 18:19 Eli Schwartz
0 siblings, 0 replies; only message in thread
From: Eli Schwartz @ 2024-08-29 18:19 UTC (permalink / raw
To: gentoo-commits
commit: df06eb44fc33e4ba4701a750be68b2f57d7f836f
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 18:17:48 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 18:17:48 2024 +0000
URL: https://gitweb.gentoo.org/proj/binhost.git/commit/?id=df06eb44
Upload build log on failure to a pastebin and include it in email
It appears to not be making it through the mirror syncing system, but I
haven't investigated why.
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
builders/jiji/binhost-update | 3 ++-
builders/milou/binhost-update | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/builders/jiji/binhost-update b/builders/jiji/binhost-update
index 4bb41e1..f2da664 100755
--- a/builders/jiji/binhost-update
+++ b/builders/jiji/binhost-update
@@ -24,7 +24,8 @@ send_email() {
local body
if [ -n "${logfile}" ]; then
- body=$(printf '%b\n\n\n' "${message}"; tail -n 500 "${logfile}"; printf '\n\n\nFull build log at %s\n' "${logfile}")
+ url=$(curl -F "_=@${logfile}" 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}
fi
diff --git a/builders/milou/binhost-update b/builders/milou/binhost-update
index 28669e2..8a304dd 100755
--- a/builders/milou/binhost-update
+++ b/builders/milou/binhost-update
@@ -41,7 +41,8 @@ send_email() {
local body
if [ -n "${logfile}" ]; then
- body=$(printf '%b\n\n\n' "${message}"; tail -n 500 "${logfile}"; printf '\n\n\nFull build log at %s\n' "${logfile}")
+ url=$(curl -F "_=@${logfile}" 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}
fi
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-29 18:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-29 18:19 [gentoo-commits] proj/binhost:master commit in: builders/milou/, builders/jiji/ Eli Schwartz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox