[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: fix report generation script

From: gnunet
Subject: [taler-deployment] branch master updated: fix report generation script
Date: Sun, 06 Jun 2021 10:18:58 +0200

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

grothoff pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new ee50d41  fix report generation script
ee50d41 is described below

commit ee50d4106ce99dd79a34a071bb9a8d2090b7c186
Author: Christian Grothoff <>
AuthorDate: Sun Jun 6 10:18:56 2021 +0200

    fix report generation script
 buildbot/ | 30 +++++++-----------------------
 1 file changed, 7 insertions(+), 23 deletions(-)

diff --git a/buildbot/ b/buildbot/
index 1f66eb1..df7fdc4 100755
--- a/buildbot/
+++ b/buildbot/
@@ -14,33 +14,19 @@ source ${HOME}/activate
 taler-deployment build
 DATE=$(date +%Y-%m-%d)
 REPORTS_DIRECTORY=$(taler-config -s auditor -o reports -f)
+mkdir -p "${REPORTS_DIRECTORY}"
-clean_files () {
-  # Remove garbage and set permissions.
-  echo Removing "${REPORT_FILE_NOEXT}.aux"
-  rm -f "${REPORT_FILE_NOEXT}.aux"
-  echo Removing "${REPORT_FILE_NOEXT}.tex"
-  rm -f "${REPORT_FILE_NOEXT}.tex"
-  echo Removing "${REPORT_FILE_NOEXT}.log"
-  rm -f "${REPORT_FILE_NOEXT}.log"
-  echo Removing "${REPORT_FILE_NOEXT}.txt", "${WIRE_REPORT_FILE_NOEXT}.txt"
-if test -a ${REPORTS_DIRECTORY}/$(basename "${REPORT_FILE_NOEXT}.pdf"); then
+if test -a "${REPORT_FILE}"
   echo "Today's report already compiled!"
   exit 0
-# Generate first report.
+# Generate today's report.
 echo "Running taler-auditor"
 if ! taler-auditor -c ${CONFIG_FILE} | tee build-log.txt; then
   echo "taler-auditor failed"
@@ -55,12 +41,10 @@ if ! test -f "${REPORT}"; then
   exit 1
-mkdir -p "${REPORTS_DIRECTORY}"
 chmod 444 "${REPORT}"
-echo Reports moved in "${REPORTS_DIRECTORY}".
+mv "${REPORT}" "${REPORT_FILE}"
+echo "Report moved to ${REPORTS_DIRECTORY}."
 rm -r `dirname $REPORT`
 exit 0

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]