[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] refactor
Holger Levsen
gitlab at salsa.debian.org
Fri Nov 20 12:25:22 GMT 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
c23d3fe3 by Holger Levsen at 2020-11-20T13:25:15+01:00
refactor
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_maintenance.sh
Changes:
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -12,15 +12,20 @@ common_init "$@"
# common code for tests.reproducible-builds.org
. /srv/jenkins/bin/reproducible_common.sh
-DIRTY=false
-REP_RESULTS=/srv/reproducible-results
-
+#
+# we fail hard
+#
+set -e
# query reproducible database, print output
query_to_print() {
printf "$(psql -c "$@")"
}
+# define some variables before we start
+DIRTY=false
+REP_RESULTS=/srv/reproducible-results
+
# backup db
if [ "$HOSTNAME" = "$MAINNODE" ] ; then
echo "$(date -u) - backup db and update public copy."
@@ -52,11 +57,6 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
fi
fi
-#
-# we fail hard
-#
-set -e
-
#
# find too large files in /var/log
#
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c23d3fe35cdb32d02c0691eb015f96be69a33643
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c23d3fe35cdb32d02c0691eb015f96be69a33643
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/20201120/6e7aa70e/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list