[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian dashboard and performance pages: tweak for trixie in development

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Jun 13 15:56:41 BST 2023



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


Commits:
b71cb3c9 by Holger Levsen at 2023-06-13T16:56:27+02:00
reproducible Debian dashboard and performance pages: tweak for trixie in development

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

- - - - -


2 changed files:

- TODO
- bin/reproducible_html_dashboard.sh


Changes:

=====================================
TODO
=====================================
@@ -36,6 +36,7 @@ See link:https://jenkins.debian.net/userContent/about.html["about jenkins.debian
 ** once the above jobs are successful, restarts the builders
 ** adopt whatever suite specific hacks _create_meta_pkg_sets.sh has
 ** tweak reproducible_common.sh to start collect statistics on the daily builds for trixie too (and make_graph.py too)
+** tweak reproducible_html_dashboard.sh as needed (search for old-stable and old-testing..)
 ** adjust chroot_installation- jobs
 ** tweak jenkins-shell-monitor.sh as needed
 ** adjust multiarch jobs in job-cfg/udd.yaml


=====================================
bin/reproducible_html_dashboard.sh
=====================================
@@ -569,11 +569,11 @@ create_dashboard_page() {
 	ARCH="amd64"
 	echo "$(date -u) - starting to write $PAGE page."
 	write_page_header $VIEW "Overview of various statistics about reproducible builds"
-	write_suite_arch_table bookworm unstable experimental # this is a bit suboptimal
+	write_suite_arch_table trixie unstable experimental
 	# write suite graphs
 	for ARCH in ${ARCHS} ; do
 		for SUITE in $SUITES ; do
-			if [ "$SUITE" = "stretch" ] || [ "$SUITE" = "buster" ] || [ "$SUITE" = "bullseye" ]  ; then
+			if [ "$SUITE" != "trixie" ] && [ "$SUITE" != "unstable" ] && [ "$SUITE" != "experimental" ]  ; then
 				continue
 			fi
 			write_page " <a href=\"/debian/$SUITE/$ARCH\"><img src=\"/debian/$SUITE/$ARCH/${TABLE[0]}.png\" class=\"tripleview\" alt=\"$SUITE/$ARCH stats\"></a>"
@@ -661,7 +661,7 @@ create_dashboard_page() {
 		write_global_graph
 	done
 	write_page "</p><p style=\"clear:both;\">"
-	write_page "<a href=\"index_performance.html\">Build network performance stats</a> and an <a href=\"index_oldsuites.html\">overview about the old suites 'bullseye', 'buster' and 'stretch'</a> are also available."
+	write_page "<a href=\"index_performance.html\">Build network performance stats</a> and an <a href=\"index_oldsuites.html\">overview about the old suites 'bookworm', 'bullseye', 'buster' and 'stretch'</a> are also available."
 	write_page "</p>"
 	# the end
 	write_page_footer
@@ -678,7 +678,7 @@ create_oldsuites_page() {
 	ARCH="amd64"
 	echo "$(date -u) - starting to write $PAGE page."
 	write_page_header $VIEW "Overview of old suites"
-	for SUITE in bullseye buster stretch ; do
+	for SUITE in bookworm bullseye buster stretch ; do
 		write_suite_arch_table $SUITE
 		for ARCH in ${ARCHS} ; do
 			write_page " <a href=\"/debian/$SUITE/$ARCH\"><img src=\"/debian/$SUITE/$ARCH/${TABLE[0]}.png\" class=\"overview\" alt=\"$SUITE/$ARCH stats\"></a>"
@@ -770,7 +770,7 @@ create_performance_page() {
 	write_page "</p><p style=\"clear:both;\">"
 	for ARCH in ${ARCHS} ; do
 		for SUITE in $SUITES ; do
-			if [ $SUITE = "stretch" ] || [ $SUITE = "buster" ] || [ "$SUITE" = "bullseye" ] ; then
+			if [ $SUITE != "trixie" ] && [ $SUITE != "unstable" ] && [ "$SUITE" != "experimental" ] ; then
 				continue
 			fi
 			write_page " <a href=\"/debian/$SUITE/$ARCH/${TABLE[2]}.png\"><img src=\"/debian/$SUITE/$ARCH/${TABLE[2]}.png\" class=\"tripleview\" alt=\"age of oldest reproducible build result in $SUITE/$ARCH\"></a>"
@@ -818,8 +818,8 @@ for ARCH in ${ARCHS} ; do
 		update_suite_arch_stats
 		update_buildinfo_stats
 		gather_suite_arch_stats
-		# stretch, buster and bullseye pages are only updated every 12h
-		if ( [ "$SUITE" = "stretch" ] || [ "$SUITE" = "buster" ] || [ "$SUITE" = "bullseye" ] ) && [[ $(($(date +%k) % 12)) -ne 0 ]]; then
+		# old suites are only updated every 12h
+		if ( [ "$SUITE" != "trixie" ] && [ "$SUITE" != "unstable" ] && [ "$SUITE" != "experimental" ] ) && [[ $(($(date +%k) % 12)) -ne 0 ]]; then
 				continue
 		fi
 		create_suite_arch_stats_page



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b71cb3c9940c285935397e76b844c94a78eca90c
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/20230613/ef80a6f5/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list