[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] happy 2023, update real year to be able to detect whether a node runs in future
Holger Levsen (@holger)
gitlab at salsa.debian.org
Mon Jan 2 10:18:08 GMT 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
3827ba7c by Holger Levsen at 2023-01-02T11:17:55+01:00
happy 2023, update real year to be able to detect whether a node runs in future
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_node_health_check.sh
Changes:
=====================================
bin/reproducible_node_health_check.sh
=====================================
@@ -1,7 +1,7 @@
#!/bin/bash
# vim: set noexpandtab:
-# Copyright 2014-2022 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2023 Holger Levsen <holger at layer-acht.org>
# © 2015-2018 Mattia Rizzolo <mattia at mapreri.org>
# released under the GPLv2
@@ -95,7 +95,7 @@ fi
# (XXX: yes this is hardcoded but meh…)
echo "$(date -u) - testing whether the time is right..."
get_node_information "$HOSTNAME"
-real_year=2022
+real_year=2023
year=$(date +%Y)
if "$NODE_RUN_IN_THE_FUTURE"; then
if [ "$year" -eq "$real_year" ]; then
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/3827ba7cb231fd749cb9dd0d2b058f270c8ab179
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/3827ba7cb231fd749cb9dd0d2b058f270c8ab179
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20230102/ea1d6753/attachment.htm>
More information about the Qa-jenkins-scm
mailing list