[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: update stretch and buster pages less often

Holger Levsen gitlab at salsa.debian.org
Thu Sep 24 23:12:52 BST 2020



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


Commits:
9c21f055 by Holger Levsen at 2020-09-25T00:12:42+02:00
reproducible Debian: update stretch and buster pages less often

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

- - - - -


1 changed file:

- bin/reproducible_html_dashboard.sh


Changes:

=====================================
bin/reproducible_html_dashboard.sh
=====================================
@@ -782,6 +782,14 @@ 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
+		if [ "$SUITE" = "stretch" ] || [ "$SUITE" = "buster" ] ; then
+			if [ "$SUITE" = "stretch" ] && [[ $(($(date +%H) % 6)) -ne 0 ]]; then
+				continue
+			elif [ "$SUITE" = "buster" ] && [[ $(($(date +%H) % 3)) -ne 0 ]]; then
+				continue
+			fi
+		fi
 		create_suite_arch_stats_page
 	done
 done



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/9c21f0554a5e84be701125bd888c4bd9bd590611

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/9c21f0554a5e84be701125bd888c4bd9bd590611
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/20200924/0e01636e/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list