[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: new page, 'variations tested', split off from dashboard

Holger Levsen holger at layer-acht.org
Fri May 20 15:01:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 3dd1c33a0cb1fe34630ab699c3bfae8ab6962af8
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri May 20 17:00:55 2016 +0200

    reproducible debian: new page, 'variations tested', split off from dashboard
---
 bin/reproducible_common.py         |  1 +
 bin/reproducible_common.sh         |  7 ++++---
 bin/reproducible_html_dashboard.sh | 21 ++++++++++++++++++---
 3 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 829c725..ac941bb 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -220,6 +220,7 @@ html_head_page = Template((tab*2).join(("""
      <li><a href="/index_repositories.html">repositories overview</a></li>
      <li><a href="/index_notify.html" title="notify icon">⚑ packages with enabled notifications</a></li>
      <li><a href="/index_performance.html">performance stats</a></li>
+     <li><a href="/index_variations.html">variations tested</a></li>
     </ul></li>
   </ul>
 $project_links
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 65cc988..c787b82 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -186,8 +186,8 @@ write_page_header() {
 	rm -f $PAGE
 	MAINVIEW="dashboard"
 	ALLSTATES="reproducible FTBR FTBFS depwait not_for_us 404 blacklisted"
-	ALLVIEWS="notes no_notes pkg_sets last_24h last_48h all_abc arch scheduled suite_stats dd-list dashboard issues repositories notify performance"
-	GLOBALVIEWS="issues scheduled notify repositories dashboard performance"
+	ALLVIEWS="notes no_notes pkg_sets last_24h last_48h all_abc arch scheduled suite_stats dd-list dashboard issues repositories notify performance variations"
+	GLOBALVIEWS="issues scheduled notify repositories dashboard performance variations"
 	SUITEVIEWS="dd-list suite_stats"
 	SPOKENTARGET["issues"]="issues"
 	SPOKENTARGET["notes"]="packages with notes"
@@ -203,6 +203,7 @@ write_page_header() {
 	SPOKENTARGET["repositories"]="repositories overview"
 	SPOKENTARGET["dashboard"]="Debian dashboard"
 	SPOKENTARGET["performance"]="performance stats"
+	SPOKENTARGET["variations"]="variations tested"
 	write_page "<!DOCTYPE html><html><head>"
 	write_page "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />"
 	write_page "<meta name=\"viewport\" content=\"width=device-width\" />"
@@ -282,7 +283,7 @@ write_page_header() {
 			write_page "</ul></li>"
 		elif [ "$TARGET" = "last_48h" ] ; then
 			write_page "</ul></li>"
-		elif [ "$TARGET" = "performance" ] ; then
+		elif [ "$TARGET" = "variations" ] ; then
 			write_page "</ul></li>"
 		elif [ "$TARGET" = "scheduled" ] ; then
 			write_page "</ul></li>"
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index 43c8b39..b3c0139 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -551,8 +551,6 @@ create_dashboard_page() {
 		fi
 	done
 	write_page "</p>"
-	# explain setup
-	write_variation_table debian
 	# link to index_breakages
 	write_page "<p style=\"clear:both;\">"
 	write_page "<br />There are <a href=\"$BASEURL/index_breakages.html\">some problems in this test setup itself</a> too. And there is <a href=\"https://jenkins.debian.net/userContent/about.html#_reproducible_builds_jobs\">documentation</a> too, in case you missed the link at the top. Feedback is very much appreciated.</p>"
@@ -595,6 +593,22 @@ create_performance_page() {
 }
 
 #
+# create variations page
+#
+create_variations_page() {
+	VIEW=variations
+	PAGE=index_${VIEW}.html
+	echo "$(date -u) - starting to write $PAGE page."
+	write_page_header $VIEW "Variations introduced when testing Debian packages"
+	# explain setup
+	write_variation_table debian
+	write_page "<p style=\"clear:both;\">"
+	write_page "</p>"
+	write_page_footer
+	publish_page
+}
+
+#
 # main
 #
 SUITE="unstable"
@@ -609,6 +623,7 @@ for ARCH in ${ARCHS} ; do
 done
 ARCH="amd64"
 SUITE="unstable"
-create_dashboard_page
 create_performance_page
+create_variations_page
+create_dashboard_page
 rm -f $DUMMY_FILE >/dev/null

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list