[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible: skip pbuilder/sdist updates in nodes that are not doing debian rebuilds

Mattia Rizzolo gitlab at salsa.debian.org
Tue Dec 22 16:30:18 GMT 2020



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
4e8e7d51 by Mattia Rizzolo at 2020-12-22T17:29:35+01:00
reproducible: skip pbuilder/sdist updates in nodes that are not doing debian rebuilds

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -
d77872ba by Mattia Rizzolo at 2020-12-22T17:29:58+01:00
reproducible debian: drop commented out code that is long unused

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -261,10 +261,12 @@ if [ ! -z "$http_proxy" ] ; then
 	pbuilder_http_proxy="--http-proxy $http_proxy"
 fi
 for s in $SUITES ; do
-	if [ "${HOSTNAME:0:6}" = "osuosl" ] ; then
-		# osuosl nodes are not used to do Debian rebuilds
-		continue
-	fi
+	for i in osuosl ionos3 ionos7 ionos9 ionos10 ; do
+		if [ "${HOSTNAME:0:${#i}}" = "$i" ]; then
+			# this node is not used to do Debian rebuilds, skip it all
+			continue 2
+		fi
+	done
 	#
 	# chdist update
 	#
@@ -288,26 +290,6 @@ for s in $SUITES ; do
 		DIRTY=true
 	fi
 	#
-	# schroot update
-	#
-	#echo "$(date -u) - updating the $s/$ARCH schroot now."
-	#for i in 1 2 3 4 ; do
-	#	[ ! -d $SCHROOT_BASE/reproducible-$s ] || schroot --directory /root -u root -c source:jenkins-reproducible-$s -- apt-get update
-	#	RESULT=$?
-	#	if [ $RESULT -eq 1 ] ; then
-	#		# sleep 61-120 secs
-	#		echo "Sleeping some time... (to workaround network problems like 'Hash Sum mismatch'...)"
-	#		/bin/sleep $(echo "scale=1 ; ($(shuf -i 1-600 -n 1)/10)+60" | bc )
-	#		echo "$(date -u) - Retrying to update the $s/$ARCH schroot."
-	#	elif [ $RESULT -eq 0 ] ; then
-	#		break
-	#	fi
-	#done
-	#if [ $RESULT -eq 1 ] ; then
-	#	echo "Warning: failed to update the $s/$ARCH schroot."
-	#	DIRTY=true
-	#fi
-	#
 	# pbuilder update
 	#
 	# pbuilder aint used on jenkins anymore



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/67989e71de384c2a54353a9d4d7a56a0fcbc3796...d77872ba4ee783eef2ce7d18d0f8bab3134a9a6b

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/67989e71de384c2a54353a9d4d7a56a0fcbc3796...d77872ba4ee783eef2ce7d18d0f8bab3134a9a6b
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/20201222/fbcf6248/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list