[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: fix wrong future detection now that we are fastly approaching 2018

Mattia Rizzolo mattia at debian.org
Mon Dec 11 17:13:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository jenkins.debian.net.

commit 123b089a2d856894abb4c03ff23ecc5e8908416d
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Mon Dec 11 18:12:15 2017 +0100

    reproducible: fix wrong future detection now that we are fastly approaching 2018
    
    We run 1 year and 1 month later, so now we are running in January
    2019, and that's entirely correct.
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 bin/reproducible_node_health_check.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_node_health_check.sh b/bin/reproducible_node_health_check.sh
index 2ccf57f..b8dc329 100755
--- a/bin/reproducible_node_health_check.sh
+++ b/bin/reproducible_node_health_check.sh
@@ -102,10 +102,10 @@ fi
 #
 # (yes this is hardcoded but meh…)
 echo "$(date -u) - testing whether the time is right..."
-if [ "$(date +%Y)" = "2019" ] ; then
+if [ "$(date +%Y)" = "2020" ] ; then
 	echo "Warning, today is the wrong future: $(date -u)."
 	DIRTY=true
-elif [ "$(date +%Y)" = "2018" ] ; then
+elif [ "$(date +%Y)" = "2019" ] ; then
 	echo "Good, today is the right future: $(date -u)."
 else
 	echo "Cherrish today, $(date -u)."

-- 
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