[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: store builtin-pho results on jenkins

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Jul 4 20:44:52 BST 2022



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


Commits:
aca0fa4a by Holger Levsen at 2022-07-04T21:38:03+02:00
reproducible Debian: store builtin-pho results on jenkins

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

- - - - -


1 changed file:

- bin/reproducible_html_builtin-pho.sh


Changes:

=====================================
bin/reproducible_html_builtin-pho.sh
=====================================
@@ -1,7 +1,7 @@
 #!/bin/bash
 # vim: set noexpandtab:
 
-# Copyright 2020-2021 Holger Levsen <holger at layer-acht.org>
+# Copyright 2020-2022 Holger Levsen <holger at layer-acht.org>
 # released under the GPLv2
 #
 # Many thanks to David Bremner for https://salsa.debian.org/bremner/builtin-pho.git
@@ -15,10 +15,9 @@ common_init "$@"
 # common code for tests.reproducible-builds.org
 . /srv/jenkins/bin/reproducible_common.sh
 
-# 3 things to be done/FIXME:
+# 2 things to be done/FIXME:
 # - create graphs
-# - import the data from the database on ionos7 into the one on jenkins
-# - include data for stretch and experimental
+# - include security updates (needs to be fixed in builtin-pho.git)
 
 get_localsuite() {
 	if [ "$SUITE" = "unstable" ] ; then
@@ -91,7 +90,6 @@ create_buildinfos_page() {
 	# the end
 	write_page_footer
 	# copy to ~jenkins/builtin-pho-html/ for rsyncing to jenkins with another job
-	mkdir -p ~jenkins/builtin-pho-html/debian/$SUITE/$ARCH
 	cp $PAGE ~jenkins/builtin-pho-html/debian/$SUITE/$ARCH/
 	rm $PAGE
 	echo "$(date -u) - $REPRODUCIBLE_URL/debian/$SUITE/$ARCH/$PAGE will be updated (via rsync) after this job succeeded..."
@@ -114,7 +112,6 @@ create_no_buildinfos_page() {
 	# the end
 	write_page_footer
 	# copy to ~jenkins/builtin-pho-html/ for rsyncing to jenkins with another job
-	mkdir -p ~jenkins/builtin-pho-html/debian/$SUITE/$ARCH
 	cp -v $PAGE ~jenkins/builtin-pho-html/debian/$SUITE/$ARCH/
 	rm $PAGE
 	echo "$(date -u) - $REPRODUCIBLE_URL/debian/$SUITE/$ARCH/$PAGE will be updated (via rsync) after this job succeeded..."
@@ -135,6 +132,9 @@ for ARCH in ${ARCHS} ; do
 		get_localsuite
 		query_builtin_pho_db_hits
 		query_builtin_pho_db_misses
+		mkdir -p ~jenkins/builtin-pho-html/debian/$SUITE/$ARCH
+		echo $HITS > ~jenkins/builtin-pho-html/debian/$SUITE/$ARCH/hits
+		echo $MISSES > ~jenkins/builtin-pho-html/debian/$SUITE/$ARCH/misses
 		create_buildinfos_page
 		create_no_buildinfos_page
 	done



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/aca0fa4af7f8ea693ea3427a502cdd5045a39d8d
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/20220704/25cab6fe/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list