[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 3 commits: reproducible Debian: update stretch and buster pages half as often
Holger Levsen
gitlab at salsa.debian.org
Tue Oct 27 21:45:22 GMT 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
a7e34d10 by Holger Levsen at 2020-10-27T22:23:25+01:00
reproducible Debian: update stretch and buster pages half as often
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
8f889bff by Holger Levsen at 2020-10-27T22:25:40+01:00
reproducible Debian: update inex_oldsuites only twice per day
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
12d6122c by Holger Levsen at 2020-10-27T22:45:00+01:00
reproducible Debian: move buster from index_dashboard to index_oldsuites
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_html_dashboard.sh
Changes:
=====================================
bin/reproducible_html_dashboard.sh
=====================================
@@ -540,7 +540,7 @@ 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 buster bullseye unstable experimental # this is a bit suboptimal but an easy way to exclude stretch from $SUITES
+ write_suite_arch_table bullseye unstable experimental # this is a bit suboptimal
# write suite graphs
for ARCH in ${ARCHS} ; do
for SUITE in $SUITES ; do
@@ -637,7 +637,7 @@ create_dashboard_page() {
write_global_graph
done
write_page "</p><p style=\"clear:both;\">"
- write_page "An <a href=\"index_oldsuites.html\">overview about the oldsuite 'stretch'</a> is also available."
+ write_page "An <a href=\"index_oldsuites.html\">overview about the old suites 'stretch' and 'buster'</a> is also available."
write_page "</p>"
# the end
write_page_footer
@@ -651,30 +651,30 @@ create_dashboard_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 stretch
- # 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>"
- done
- write_page "</p><p style=\"clear:both;\">"
- ARCH="amd64"
- write_meta_pkg_graphs_links
- 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
- write_page "</p><p style=\"clear:both;\">"
- write_page "Oldest build result in stretch:"
- for ARCH in ${ARCHS} ; do
- AGE_STRETCH=$(query_db "SELECT CAST(greatest(max(oldest_reproducible), max(oldest_FTBR), max(oldest_FTBFS)) AS INTEGER) FROM ${TABLE[2]} WHERE suite='stretch' AND architecture='$ARCH' AND datum='$DATE'")
- comma_comma_and ${ARCH}
- write_page "$AGE_STRETCH days for ${ARCH}$COMMA_VAR"
+ write_suite_arch_table buster stretch
+ for SUITE in buster stretch ; do
+ 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>"
+ done
+ write_page "</p><p style=\"clear:both;\">"
+ ARCH="amd64"
+ write_meta_pkg_graphs_links
+ 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
+ write_page "</p><p style=\"clear:both;\">"
+ write_page "Oldest build result in $SUITE:"
+ for ARCH in ${ARCHS} ; do
+ AGE=$(query_db "SELECT CAST(greatest(max(oldest_reproducible), max(oldest_FTBR), max(oldest_FTBFS)) AS INTEGER) FROM ${TABLE[2]} WHERE suite='stretch' AND architecture='$ARCH' AND datum='$DATE'")
+ comma_comma_and ${ARCH}
+ write_page "$AGE days for ${ARCH}$COMMA_VAR"
+ done
+ write_page ".</p>"
done
- write_page ".</p>"
write_page_footer
publish_page debian
}
@@ -782,11 +782,11 @@ for ARCH in ${ARCHS} ; do
for SUITE in $SUITES ; do
update_suite_arch_stats
gather_suite_arch_stats
- # stretch pages are only updated every 6h, buster every 3h
+ # stretch pages are only updated every 12h, buster every 6h
if [ "$SUITE" = "stretch" ] || [ "$SUITE" = "buster" ] ; then
- if [ "$SUITE" = "stretch" ] && [[ $(($(date +%k) % 6)) -ne 0 ]]; then
+ if [ "$SUITE" = "stretch" ] && [[ $(($(date +%k) % 12)) -ne 0 ]]; then
continue
- elif [ "$SUITE" = "buster" ] && [[ $(($(date +%k) % 3)) -ne 0 ]]; then
+ elif [ "$SUITE" = "buster" ] && [[ $(($(date +%k) % 6)) -ne 0 ]]; then
continue
fi
fi
@@ -796,6 +796,8 @@ done
create_performance_page
create_variations_page
create_bugs_page
-create_oldsuites_page
+if [[ $(($(date +%k) % 12)) -eq 0 ]]; then
+ create_oldsuites_page
+fi
create_dashboard_page
rm -f $DUMMY_FILE >/dev/null
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/d3b7bb2e05577b11aee5819e324b18635f1b8edb...12d6122c2f4f7b04c208d0f3d840d70cf1896994
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/d3b7bb2e05577b11aee5819e324b18635f1b8edb...12d6122c2f4f7b04c208d0f3d840d70cf1896994
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/20201027/bbb857b6/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list