commit a3af99a2f61d55bd4b8a06afa4be29d343d42049 parent 207e0139befc3b66aff6157360d5535e6b9ab121 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Fri, 30 Nov 2018 16:04:23 +0100 Auditor deployment. Must 'source $HOME/activate' before invoking tools. Diffstat:
| M | 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 @@ -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.