[Git][qa/jenkins.debian.net][master] tests.r-b.o/debian: stop submitting results to buildinfo.debian.net

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Jun 2 21:12:32 BST 2025



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


Commits:
ef7e702c by Holger Levsen at 2025-06-02T22:12:14+02:00
tests.r-b.o/debian: stop submitting results to buildinfo.debian.net

(not to be confused with buildinfos.debian.net)

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

- - - - -


1 changed file:

- bin/reproducible_build.sh


Changes:

=====================================
bin/reproducible_build.sh
=====================================
@@ -926,25 +926,8 @@ sign_buildinfo() {
 }
 
 share_buildinfo() {
-	# Submit the -buildinfo files to third-party archives:
-	log_info "Submitting .buildinfo files to external archives:"
-
-	# buildinfo.debian.net administred by Chris Lamb <lamby at debian.org>
-	local TMPFILE=$(mktemp --tmpdir=$TMPDIR)
-	for X in b1 b2
-	do
-		log_info "Submitting $(du -h ${X}/$BUILDINFO_SIGNED)"
-		curl -s -X PUT --max-time 30 --data-binary @- "https://buildinfo.debian.net/api/submit" < ./${X}/$BUILDINFO_SIGNED > $TMPFILE || log_error "Could not submit buildinfo from ${X} to http://buildinfo.debian.net/api/submit"
-		cat $TMPFILE
-		if grep -q "500 Internal Server Error" $TMPFILE ; then
-			MESSAGE="$(date -u ) - ${BUILD_URL}console.log got error code 500 from buildinfo.debian.net for $(du -h ${X}/$BUILDINFO_SIGNED)"
-			echo -e "$MESSAGE" | tee -a /var/log/jenkins/reproducible-submit2buildinfo.debian.net.log
-		fi
-		rm $TMPFILE
-	done
-	log_info "Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit."
-
-	log_info "Done submitting .buildinfo files."
+	# the code to submit buildinfo files to third-party archives like buildinfo.debian.net
+	# has been dropped on 2025-06-02 and this should be refactored into oblivion soon too
 	log_info "Removing signed $BUILDINFO_SIGNED files:"
 	rm -vf ./b1/$BUILDINFO_SIGNED ./b2/$BUILDINFO_SIGNED | tee -a "$RBUILDLOG"
 }



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ef7e702cf5fed93a75a364542c3e108ec6207e65
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/20250602/3ae68435/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list