[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian cloud-image pkg set: deal gracefully with problems - but don't address them yet

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Nov 10 22:51:52 GMT 2022



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


Commits:
997b8184 by Holger Levsen at 2022-11-10T23:51:29+01:00
reproducible Debian cloud-image pkg set: deal gracefully with problems - but don't address them yet

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

- - - - -


1 changed file:

- bin/reproducible_create_meta_pkg_sets.sh


Changes:

=====================================
bin/reproducible_create_meta_pkg_sets.sh
=====================================
@@ -255,17 +255,18 @@ update_pkg_set_specific() {
 			elif [ "$SUITE" = "buster" ] ; then
 				URL="https://cloud.debian.org/images/cloud/OpenStack/current-10/debian-10-openstack-amd64-packages.list"
 			else
+				#FIXME: cloud-image pkg set broken for bullseye & bookworm
 				URL="https://cloud.debian.org/images/cloud/OpenStack/testing/debian-testing-openstack-amd64-packages.list"
 			fi
 			echo "Downloading $URL now."
 			curl $URL | cut -d ' ' -f1 | cut -d ':' -f1 > $TMPFILE
-			if ! grep '404 Not Found' $TMPFILE ; then
+			if ! grep '404 Not Found' && ! grep 'DOCTYPE' $TMPFILE ; then
 				echo "parsing $TMPFILE now..."
 				packages_list_to_deb822
 				convert_from_deb822_into_source_packages_only
 			else
 				rm $TMPFILE
-				MESSAGE="Warning: could not download cloud-image package list, skipping pkg set..."
+				MESSAGE="Warning: could not update cloud-image package list, skipping pkg set..."
 				irc_message debian-reproducible-changes $MESSAGE
 			fi
 			;;



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/997b8184916dc1daa2b3b581df2978c4efcfa8c3
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/20221110/d8d45962/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list