[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: let's not run the 2nd build in the future until things run more stable again
Holger Levsen
holger at moszumanska.debian.org
Fri Oct 2 09:46:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 3a08343341138c6e00b4748ccf9b3fdfc74d4bdd
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Oct 2 11:45:55 2015 +0200
reproducible: let's not run the 2nd build in the future until things run more stable again
---
hosts/bpi0-armhf-rb/etc/rc.local | 6 +++++-
hosts/hb0-armhf-rb/etc/rc.local | 6 +++++-
hosts/profitbricks-build2-amd64/etc/rc.local | 6 +++++-
hosts/profitbricks-build3-amd64/etc/rc.local | 6 +++++-
4 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/hosts/bpi0-armhf-rb/etc/rc.local b/hosts/bpi0-armhf-rb/etc/rc.local
index 7940adf..b069e6b 100755
--- a/hosts/bpi0-armhf-rb/etc/rc.local
+++ b/hosts/bpi0-armhf-rb/etc/rc.local
@@ -11,12 +11,16 @@
#
# By default this script does nothing.
+echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
+
+# disable running in the future for now
+exit 0
+
systemctl disable systemd-timesyncd
systemctl disable systemd-timedated
systemctl stop systemd-timesyncd
systemctl stop systemd-timedated
ntpdate -b de.pool.ntp.org
-echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
date --set="+400 days"
echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
diff --git a/hosts/hb0-armhf-rb/etc/rc.local b/hosts/hb0-armhf-rb/etc/rc.local
index 7940adf..b069e6b 100755
--- a/hosts/hb0-armhf-rb/etc/rc.local
+++ b/hosts/hb0-armhf-rb/etc/rc.local
@@ -11,12 +11,16 @@
#
# By default this script does nothing.
+echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
+
+# disable running in the future for now
+exit 0
+
systemctl disable systemd-timesyncd
systemctl disable systemd-timedated
systemctl stop systemd-timesyncd
systemctl stop systemd-timedated
ntpdate -b de.pool.ntp.org
-echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
date --set="+400 days"
echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
diff --git a/hosts/profitbricks-build2-amd64/etc/rc.local b/hosts/profitbricks-build2-amd64/etc/rc.local
index 7940adf..b069e6b 100755
--- a/hosts/profitbricks-build2-amd64/etc/rc.local
+++ b/hosts/profitbricks-build2-amd64/etc/rc.local
@@ -11,12 +11,16 @@
#
# By default this script does nothing.
+echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
+
+# disable running in the future for now
+exit 0
+
systemctl disable systemd-timesyncd
systemctl disable systemd-timedated
systemctl stop systemd-timesyncd
systemctl stop systemd-timedated
ntpdate -b de.pool.ntp.org
-echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
date --set="+400 days"
echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
diff --git a/hosts/profitbricks-build3-amd64/etc/rc.local b/hosts/profitbricks-build3-amd64/etc/rc.local
index 7940adf..b069e6b 100755
--- a/hosts/profitbricks-build3-amd64/etc/rc.local
+++ b/hosts/profitbricks-build3-amd64/etc/rc.local
@@ -11,12 +11,16 @@
#
# By default this script does nothing.
+echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
+
+# disable running in the future for now
+exit 0
+
systemctl disable systemd-timesyncd
systemctl disable systemd-timedated
systemctl stop systemd-timesyncd
systemctl stop systemd-timedated
ntpdate -b de.pool.ntp.org
-echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
date --set="+400 days"
echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list