From 5ff83e33d197716cb48e5b686cd741510a203f9a Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sun, 23 Oct 2016 09:50:24 +0200 Subject: reproducible Debian: Set a maximum time for curl(1) to upload to buildinfo.debian.net Signed-off-by: Holger Levsen --- bin/reproducible_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 154b86cb..7c29ce98 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -780,8 +780,8 @@ share_buildinfo() { mail -s "buildinfo from $NODE1" submit@buildinfo.kfreebsd.eu < ./b1/$BUILDINFO || true mail -s "buildinfo from $NODE2" submit@buildinfo.kfreebsd.eu < ./b2/$BUILDINFO || true # buildinfo.debian.net administred by Chris Lamb - curl -X PUT --data-binary @- "http://buildinfo.debian.net/api/submit?node=$NODE1" < ./b1/$BUILDINFO || true - curl -X PUT --data-binary @- "http://buildinfo.debian.net/api/submit?node=$NODE2" < ./b2/$BUILDINFO || true + curl -X PUT --max-time 30 --data-binary @- "http://buildinfo.debian.net/api/submit?node=$NODE1" < ./b1/$BUILDINFO || true + curl -X PUT --max-time 30 --data-binary @- "http://buildinfo.debian.net/api/submit?node=$NODE2" < ./b2/$BUILDINFO || true echo "$(date -u) - done submitting .buildinfo files." } -- cgit v1.2.3-70-g09d2