taler-deployment

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

commit 8202f6dda3a685e4b0e727a939295a3f3615b635
parent 551711274ce5d3630fe0162f89214052fd6c8076
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Thu, 30 Nov 2017 13:49:25 +0100

make "update topper" a legal taler-deployment-* command

Diffstat:
Abin/taler-deployment-top-reserve | 12++++++++++++
Abuildbot/top_reserve.sh | 5+++++
Dtaler-build/update_tip_reserve.sh | 15---------------
3 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/bin/taler-deployment-top-reserve b/bin/taler-deployment-top-reserve @@ -0,0 +1,12 @@ +#!/bin/bash + +source $HOME/activate + +taler-exchange-reservemod \ + --add="$TALER_CONFIG_CURRENCY:100.0" \ + --reserve=S98FEXHW3VJ93EA73CRAQ5E8E4DJE96Z9JXYFHFD169FWS9NS8A0 \ + --sender='{"bank_uri":"https://bank.$TALER_ENVNAME.taler.net/","account_number":7,"type":"test"}' \ + --transfer='ZUV321' + +# note: account number (7) is hardcoded, as tipping +# is only being tested against the 'default' instance. diff --git a/buildbot/top_reserve.sh b/buildbot/top_reserve.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +active=$(sudo -u test cat /home/test/active) + +sudo -u $active bash -c 'taler-deployment-top-reserve' diff --git a/taler-build/update_tip_reserve.sh b/taler-build/update_tip_reserve.sh @@ -1,15 +0,0 @@ -#!/bin/bash - -# This command must be run under {test,demo}-{blue,green} -# home directories. - -source $HOME/activate - -taler-exchange-reservemod \ - --add="$TALER_CONFIG_CURRENCY:100.0" \ - --reserve=S98FEXHW3VJ93EA73CRAQ5E8E4DJE96Z9JXYFHFD169FWS9NS8A0 \ - --sender='{"bank_uri":"https://bank.$TALER_ENVNAME.taler.net/","account_number":7,"type":"test"}' \ - --transfer='ZUV321' - -# note: account number (7) is hardcoded, as tipping -# is only being tested against the 'default' instance.