[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: be honest about dirt
Holger Levsen
holger at layer-acht.org
Tue Jun 13 12:55:30 UTC 2017
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 313480258fe7599347fb0a46395d7621e244824b
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Jun 13 14:55:25 2017 +0200
reproducible Debian: be honest about dirt
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_node_health_check.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bin/reproducible_node_health_check.sh b/bin/reproducible_node_health_check.sh
index c025cc7..686e035 100755
--- a/bin/reproducible_node_health_check.sh
+++ b/bin/reproducible_node_health_check.sh
@@ -44,6 +44,7 @@ echo "$(date -u) - testing whether the proxy works..."
curl http://www.debian.org > /dev/null
if [ $? -ne 0 ] ; then
echo "Warning: curl http://www.debian.org failed, probably the proxy is down for $HOSTNAME…"
+ DIRTY=true
fi
#
@@ -91,6 +92,7 @@ fi
echo "$(date -u) - testing whether the time is right..."
if [ "$(date +%Y)" = "2019" ] ; then
echo "Warning, today is the wrong future: $(date -u)."
+ DIRTY=true
elif [ "$(date +%Y)" = "2018" ] ; then
echo "Good, today is the right future: $(date -u)."
else
--
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