From a3af99a2f61d55bd4b8a06afa4be29d343d42049 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 30 Nov 2018 16:04:23 +0100 Subject: Auditor deployment. Must 'source $HOME/activate' before invoking tools. --- buildbot/make_auditor_reports.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh index 3c49be7..7a6ab70 100755 --- a/buildbot/make_auditor_reports.sh +++ b/buildbot/make_auditor_reports.sh @@ -27,8 +27,13 @@ SUDO_COLOR="sudo -u ${ACTIVE_COLOR}" JINJA_TEMPLATE="auditor-report.tex.j2" REPORTS_DIRECTORY="/home/${TALER_DEPLOYMENT}/reports" -${SUDO_COLOR} sh -c "taler-auditor > ${REPORT_FILE}.txt" -${SUDO_COLOR} sh -c "taler-wire-auditor > ${WIRE_REPORT_FILE}.txt" +${SUDO_COLOR} sh -c \ + "source /home/${ACTIVE_COLOR}/activate; \ + taler-auditor > ${REPORT_FILE}.txt" + +${SUDO_COLOR} sh -c \ + "source /home/${ACTIVE_COLOR}/activate; \ + taler-wire-auditor > ${WIRE_REPORT_FILE}.txt" # 2 convert them into PDF. # 3 put them into nginx-served directory. -- cgit v1.2.3