summaryrefslogtreecommitdiffstats
path: root/deploy_jdn
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-12-26 14:05:56 +0100
committerHolger Levsen <holger@layer-acht.org>2016-12-26 14:05:56 +0100
commit8b943b55a4a4a1b7438f23a71da98eab37b7251e (patch)
tree34122e99a4b42d2534f7183e45ca36753e8e2b5d /deploy_jdn
parent87e4cdbaab06764a22361fd1ec6cf105733634b7 (diff)
downloadjenkins.debian.net-8b943b55a4a4a1b7438f23a71da98eab37b7251e.tar.xz
reproducible Debian: run odd numbered codethink nodes in the future too
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'deploy_jdn')
-rwxr-xr-xdeploy_jdn6
1 files changed, 5 insertions, 1 deletions
diff --git a/deploy_jdn b/deploy_jdn
index dcd6833c..f12bbaf6 100755
--- a/deploy_jdn
+++ b/deploy_jdn
@@ -169,7 +169,11 @@ for i in $HOSTS ; do
if $reset_clock ; then
case $i in
profitbricks-build4-amd64*|profitbricks-build5-amd64*|profitbricks-build6-i386*|profitbricks-build15-amd64*|profitbricks-build16-i386*)
- # set correct date
+ # set correct future date
+ command="sudo ntpdate -b de.pool.ntp.org && $real_command && sudo date --set=\"+398 days +6 hours + 23 minutes\" && echo '__$(echo $i|cut -d '.' -f1)=ok__'"
+ ;;
+ codethink9*|codethink11*|codethink13*|codethink15*)
+ # set correct future date
command="sudo ntpdate -b de.pool.ntp.org && $real_command && sudo date --set=\"+398 days +6 hours + 23 minutes\" && echo '__$(echo $i|cut -d '.' -f1)=ok__'"
;;
*)