summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
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 /update_jdn.sh
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 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 9ad34077..aa8c8f43 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -38,6 +38,10 @@ case $HOSTNAME in
sudo service ntp stop
sudo ntpdate -b de.pool.ntp.org
;;
+ codethink9*|codethink11*|codethink13*|codethink15*)
+ # set correct date
+ sudo service ntp stop
+ sudo ntpdate -b de.pool.ntp.org
*) ;;
esac
@@ -294,6 +298,7 @@ if [ -f /etc/debian_version ] ; then
# needed to run the 2nd reproducible builds nodes in the future...
case $HOSTNAME in
profitbricks-build4-amd64|profitbricks-build5-amd64|profitbricks-build6-i386|profitbricks-build15-amd64|profitbricks-build16-i386) DEBS="$DEBS ntpdate" ;;
+ codethink9*|codethink11*|codethink13*|codethink15*) DEBS="$DEBS ntpdate" ;;
*) ;;
esac
# needed to run coreboot/openwrt/lede/netbsd/fedora jobs
@@ -757,6 +762,9 @@ case $HOSTNAME in
profitbricks-build4-amd64|profitbricks-build5-amd64|profitbricks-build6-i386|profitbricks-build15-amd64|profitbricks-build16-i386)
sudo date --set="+398 days +6 hours + 23 minutes"
;;
+ codethink9*|codethink11*|codethink13*|codethink15*)
+ sudo date --set="+398 days +6 hours + 23 minutes"
+ ;;
jenkins)
# notify irc on updates of jenkins.d.n
MESSAGE="jenkins.d.n updated to $(cd $BASEDIR ; git describe --always)."