[Git][qa/jenkins.debian.net][master] reproducible Debian live-builds: make more rebust dealing with salsa.d.o returning 502 errors

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Jul 17 21:05:23 BST 2023



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
7764c040 by Holger Levsen at 2023-07-17T22:04:58+02:00
reproducible Debian live-builds: make more rebust dealing with salsa.d.o returning 502 errors

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_debian_live_build.sh


Changes:

=====================================
bin/reproducible_debian_live_build.sh
=====================================
@@ -172,7 +172,9 @@ export RESULTSDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t ${PROJECTNAM
 
 # Fetch the rebuild script (and nothing else)
 output_echo "Fetching the rebuild script."
-git clone https://salsa.debian.org/live-team/live-build.git rebuild_script --no-checkout --depth 1
+# (try twice to better deal with salsa returning 502)
+git clone https://salsa.debian.org/live-team/live-build.git rebuild_script --no-checkout --depth 1 || \
+	( echo "retrying in 5min" ; sleep 5m ; git clone https://salsa.debian.org/live-team/live-build.git rebuild_script --no-checkout --depth 1 )
 cd rebuild_script
 git checkout HEAD test/rebuild.sh
 cd ..



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7764c040f01fd63b870a656bb7c0f10194f645f4

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7764c040f01fd63b870a656bb7c0f10194f645f4
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20230717/f1ce081b/attachment.htm>


More information about the Qa-jenkins-scm mailing list