taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit b299472f133ee60d9573afbbe49ae3c141abca0a
parent aabf200d5527d2f9729323d9e2e4da05fd2023b7
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Sat,  8 Jun 2019 14:03:41 +0200

perms

Diffstat:
Mbuildbot/make_auditor_reports.sh | 5+++--
Mbuildbot/sign.sh | 4++--
2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh @@ -8,7 +8,6 @@ DATE=$(date +%Y-%m-%d) REPORT_FILE_NOEXT=${HOME}/audit_report.${DATE} WIRE_REPORT_FILE_NOEXT=${HOME}/wire_audit_report.${DATE} JINJA_TEMPLATE="auditor-report.tex.j2" -REPORTS_DIRECTORY="${HOME}/shared-data/auditor/reports" source ${HOME}/activate @@ -17,6 +16,8 @@ if test -a ${REPORTS_DIRECTORY}/$(basename "${REPORT_FILE_NOEXT}.pdf"); then exit 0 fi +REPORTS_DIRECTORY="$(taler-config -s auditor -o reports -f)" + taler-auditor-exchange \ -c ${HOME}/.config/taler.conf \ -m $(taler-config -s exchange -o master_public_key) \ @@ -61,7 +62,7 @@ if echo $(whoami) | grep demo; then fi chgrp ${GROUP} "${REPORT_FILE_NOEXT}.pdf" -chmod g+r "${REPORT_FILE_NOEXT}.pdf" +chmod 040 "${REPORT_FILE_NOEXT}.pdf" mv "${REPORT_FILE_NOEXT}.pdf" "${REPORTS_DIRECTORY}" diff --git a/buildbot/sign.sh b/buildbot/sign.sh @@ -8,9 +8,9 @@ fi source "${HOME}/activate" WIRE_RESPONSE=$(taler-config -s account-1 -o wire_response -f) -rm -f $WIRE_RESPONSE || true +rm -f $WIRE_RESPONSE taler-exchange-wire -chmod g+rx $WIRE_RESPONSE chgrp test $WIRE_RESPONSE +chmod 070 $WIRE_RESPONSE