[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: create oldsuites page, showing suites we used to test

Holger Levsen gitlab at salsa.debian.org
Fri Jan 24 14:23:00 GMT 2020



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


Commits:
ffc13a29 by Holger Levsen at 2020-01-24T15:22:52+01:00
reproducible Debian: create oldsuites page, showing suites we used to test

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

- - - - -


1 changed file:

- bin/reproducible_html_dashboard.sh


Changes:

=====================================
bin/reproducible_html_dashboard.sh
=====================================
@@ -643,6 +643,44 @@ create_dashboard_page() {
 	publish_page debian
 }
 
+#
+# create oldsuites page
+#
+create_oldsuites_page() {
+	VIEW=oldsuites
+	PAGE=index_${VIEW}.html
+	SUITE="stretch"
+	ARCH="amd64"
+	echo "$(date -u) - starting to write $PAGE page."
+	write_page_header $VIEW "Overview of old suites"
+	write_suite_arch_table
+	# write suite graphs
+	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>"
+		if [ "$ARCH" = "amd64" ] ; then
+			write_meta_pkg_graphs_links
+		fi
+	done
+	write_page "</p><p style=\"clear:both;\">"
+	for ARCH in ${ARCHS} ; do
+		write_page " <a href=\"/debian/$SUITE/$ARCH/${TABLE[2]}.png\"><img src=\"/debian/$SUITE/$ARCH/${TABLE[2]}.png\" class=\"overview\" alt=\"age of oldest reproducible build result in $SUITE/$ARCH\"></a>"
+	done
+	ARCH="amd64"
+	write_page "</p><p style=\"clear:both;\">"
+	write_page "And finally there are also graphs about the oldest build in stretch for "
+	for ARCH in ${ARCHS} ; do
+		comma_comma_and ${ARCH}
+		write_page "<a href=\"/debian/$SUITE/$ARCH/${TABLE[2]}.png\">$ARCH</a>$COMMA_VAR"
+	done
+	write_page ".</p>"
+
+	write_page "</table>"
+	# the end
+	write_page_footer
+	publish_page debian
+}
+
+
 #
 # create bugs page
 #
@@ -713,13 +751,6 @@ create_performance_page() {
 		write_page "<a href=\"/debian/index_${ARCH}_oldies.html\">$ARCH</a>$COMMA_VAR"
 	done
 	write_page ".</p>"
-	write_page "<p>And finally there are also graphs about the oldest build in stretch for "
-	SUITE="stretch"
-	for ARCH in ${ARCHS} ; do
-		comma_comma_and ${ARCH}
-		write_page "<a href=\"/debian/$SUITE/$ARCH/${TABLE[2]}.png\">$ARCH</a>$COMMA_VAR"
-	done
-	write_page ".</p>"
 	write_page_footer
 	publish_page debian
 }
@@ -758,5 +789,6 @@ done
 create_performance_page
 create_variations_page
 create_bugs_page
+create_oldsuites_page
 create_dashboard_page
 rm -f $DUMMY_FILE >/dev/null



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/ffc13a29184ba02033655bb39aaab1df87702d65
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/20200124/66d1bf4f/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list