diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-11-30 16:04:23 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-11-30 16:04:23 +0100 |
commit | a3af99a2f61d55bd4b8a06afa4be29d343d42049 (patch) | |
tree | 27636c09e970fd1e9b3846d702f539550ebfd82a | |
parent | 207e0139befc3b66aff6157360d5535e6b9ab121 (diff) | |
download | deployment-a3af99a2f61d55bd4b8a06afa4be29d343d42049.tar.gz deployment-a3af99a2f61d55bd4b8a06afa4be29d343d42049.tar.bz2 deployment-a3af99a2f61d55bd4b8a06afa4be29d343d42049.zip |
Auditor deployment.
Must 'source $HOME/activate' before invoking tools.
-rwxr-xr-x | buildbot/make_auditor_reports.sh | 9 |
1 files 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. |