summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.py1
-rwxr-xr-xbin/reproducible_common.sh7
-rwxr-xr-xbin/reproducible_html_dashboard.sh24
3 files changed, 25 insertions, 7 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index cb422653..829c7259 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -219,6 +219,7 @@ html_head_page = Template((tab*2).join(("""
<li><a href="/index_issues.html">issues</a></li>
<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>
</ul></li>
</ul>
$project_links
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 8b782d1e..65cc9883 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"
- GLOBALVIEWS="issues scheduled notify repositories dashboard"
+ 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"
SUITEVIEWS="dd-list suite_stats"
SPOKENTARGET["issues"]="issues"
SPOKENTARGET["notes"]="packages with notes"
@@ -202,6 +202,7 @@ write_page_header() {
SPOKENTARGET["suite_stats"]="suite: $SUITE"
SPOKENTARGET["repositories"]="repositories overview"
SPOKENTARGET["dashboard"]="Debian dashboard"
+ SPOKENTARGET["performance"]="performance stats"
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\" />"
@@ -281,7 +282,7 @@ write_page_header() {
write_page "</ul></li>"
elif [ "$TARGET" = "last_48h" ] ; then
write_page "</ul></li>"
- elif [ "$TARGET" = "notify" ] ; then
+ elif [ "$TARGET" = "performance" ] ; 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 1c5aeddd..0a438fc7 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -553,7 +553,24 @@ create_dashboard_page() {
write_page "</p>"
# explain setup
write_variation_table debian
- # redo arch specific pngs once a day and write build per day graphs
+ # 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>"
+ # the end
+ write_page_footer
+ cp $PAGE $BASE/reproducible.html
+ publish_page
+}
+
+#
+# create performance page
+#
+create_performance_page() {
+ VIEW=performance
+ PAGE=index_${VIEW}.html
+ echo "$(date -u) - starting to write $PAGE page."
+ write_page_header $VIEW "Build node performance stats"
+ # arch performance stats
write_page "<p style=\"clear:both;\">"
for ARCH in ${ARCHS} ; do
write_page " <a href=\"/${TABLE[1]}_$ARCH.png\"><img src=\"/${TABLE[1]}_$ARCH.png\" class=\"overview\" alt=\"${MAINLABEL[1]}\"></a>"
@@ -561,7 +578,6 @@ create_dashboard_page() {
create_png_from_table 1 ${TABLE[1]}_$ARCH.png
fi
done
- # write performance stats
write_page "<p style=\"clear:both;\">"
write_build_performance_stats
# write suite builds age graphs
@@ -572,9 +588,8 @@ create_dashboard_page() {
done
write_page "</p><p style=\"clear:both;\">"
done
- # link to index_breakages
- 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>"
# the end
+ write_page "Daily <a href=\"https://jenkins.debian.net/view/reproducible/job/reproducible_nodes_info/lastBuild/console\">individual build node performance stats</a> are available too.</p>"
write_page_footer
cp $PAGE $BASE/reproducible.html
publish_page
@@ -596,4 +611,5 @@ done
ARCH="amd64"
SUITE="unstable"
create_dashboard_page
+create_performance_page
rm -f $DUMMY_FILE >/dev/null