taler-deployment

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

commit eb971fe4493c9f77f26f3574c44806b47a048196
parent c390d35cf1f08f67a7f1268373c01635f7cbc954
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Sat,  8 Jun 2019 19:43:20 +0200

hier lock

Diffstat:
Mbin/taler-deployment-config-generate | 5+++++
Mbin/taler-deployment-keyup | 5+++++
Mbin/taler-deployment-shared-data | 1+
Mbuildbot/sign.sh | 9+--------
4 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/bin/taler-deployment-config-generate b/bin/taler-deployment-config-generate @@ -21,6 +21,11 @@ if [[ -z ${TALER_CONFIG_CURRENCY+x} ]]; then exit 1 fi +if ! test -f $(taler-config -s paths -o taler_deployment_shared -f)/hier.lock; then + echo "shared-data/ hier not made yet, please run 'taler-deployment-shared-data' first" + exit 1 +fi + EXCHANGE_MASTER_PRIV=$(taler-config -s exchange -o master_priv_file -f) AUDITOR_MASTER_PRIV=$(taler-config -s auditor -o auditor_priv_file -f) diff --git a/bin/taler-deployment-keyup b/bin/taler-deployment-keyup @@ -15,6 +15,11 @@ if ! test -f $HOME/.config/taler.conf; then exit 1 fi +if ! test -f $(taler-config -s paths -o taler_deployment_shared -f)/hier.lock; then + echo "shared-data/ hier not made yet, please run 'taler-deployment-shared-data' first" + exit 1 +fi + AUDITOR_REQUEST_DIR=$(taler-config -s exchangedb -o autitor_inputs -f) AUDITOR_BASE_DIR=$(taler-config -s exchangedb -o auditor_base_dir -f) EXHCANGE_PUB=$(taler-config -s exchange -o master_public_key) diff --git a/bin/taler-deployment-shared-data b/bin/taler-deployment-shared-data @@ -68,3 +68,4 @@ done # All dirs will give only the group RWX perms. chmod -R 770 $SHARED_DATA/* +touch $SHARED_DATA/hier.lock diff --git a/buildbot/sign.sh b/buildbot/sign.sh @@ -6,11 +6,4 @@ if test "$(whoami)" = "$(cat /home/test/active)"; then fi source "${HOME}/activate" -WIRE_RESPONSE=$(taler-config -s account-1 -o wire_response -f) - -rm -f $WIRE_RESPONSE - -taler-exchange-wire - -chgrp test $WIRE_RESPONSE -chmod 070 $WIRE_RESPONSE +taler-deployment-sign