diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_common.py | 1 | ||||
-rwxr-xr-x | bin/reproducible_common.sh | 7 | ||||
-rwxr-xr-x | 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 829c7259..ac941bb6 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 65cc9883..c787b824 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 43c8b39c..b3c01394 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 |