[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Arch Linux: scheduler is run every 4h, thus present 4h stats

Holger Levsen gitlab at salsa.debian.org
Sun Jan 27 14:15:59 GMT 2019


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


Commits:
50ae9c1e by Holger Levsen at 2019-01-27T14:15:36Z
reproducible Arch Linux: scheduler is run every 4h, thus present 4h stats

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

- - - - -


1 changed file:

- bin/reproducible_archlinux_scheduler.sh


Changes:

=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -259,14 +259,14 @@ update_archlinux_repositories() {
 		MESSAGE="${message}${msg_old}${msg_depwait404}, for $total scheduled out of $TOTAL."
 		# the next 3 lines could maybe do some refactoring. but then, all of this should be rewritten in python using templates...
 		DISTROID=$(query_db "SELECT id FROM distributions WHERE name='archlinux'")
-		MAXDATE="$(date -u +'%Y-%m-%d %H:%M' -d '3 hours ago')"
+		MAXDATE="$(date -u +'%Y-%m-%d %H:%M' -d '4 hours ago')"
 		RECENT=$(query_db "SELECT count(s.name) FROM sources AS s
 				JOIN results AS r
 				ON s.id=r.package_id
 				WHERE s.distribution=$DISTROID
 				AND s.architecture='x86_64'
 				AND r.build_date > '$MAXDATE'")
-		MESSAGE="$MESSAGE ($RECENT builds in the last 3h.)"
+		MESSAGE="$MESSAGE ($RECENT builds in the last 4h.)"
 		echo -n "$(date -u ) - "
 		irc_message archlinux-reproducible "$MESSAGE"
 	else



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/50ae9c1ea212b68d4b395c06aafb812d8b169846

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/50ae9c1ea212b68d4b395c06aafb812d8b169846
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/20190127/c961c4fa/attachment.html>


More information about the Qa-jenkins-scm mailing list