[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: fix logic bug, preventing osuosl hosts to run correctly in the future

Holger Levsen gitlab at salsa.debian.org
Fri Jan 25 22:19:19 GMT 2019


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


Commits:
ee369979 by Holger Levsen at 2019-01-25T22:18:19Z
reproducible: fix logic bug, preventing osuosl hosts to run correctly in the future

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

- - - - -


1 changed file:

- deploy_jdn


Changes:

=====================================
deploy_jdn
=====================================
@@ -212,8 +212,8 @@ for i in "${HOSTS[@]}" ; do
 		if node_in_the_future "$i" ; then
 			#  set correct future date
 			case "$i" in
-				osuosl-build*)	NTP_SERVER=de.pool.ntp.org ;;
-				*) 		NTP_SERVER=time.osuosl.org ;;
+				osuosl*)	NTP_SERVER=time.osuosl.org ;;
+				*)		NTP_SERVER=de.pool.ntp.org ;;
 			esac
 			remote_command="sudo ntpdate -b $NTP_SERVER && $remote_command && sudo date --set=\"+398 days +6 hours + 23 minutes\" && echo '__$(echo $i|cut -d '.' -f1)=ok__'"
 		fi



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/ee369979d9390bb182d4d220a0c944b7ced373e8
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/20190125/f2259e28/attachment.html>


More information about the Qa-jenkins-scm mailing list