taler-deployment

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

commit 76fb12ffb919253a7964fa0266f3b3780d74642e
parent d7171e1811781c92e0ff8e99013e6a5097a73594
Author: MS <ms@taler.net>
Date:   Mon, 27 Jul 2020 23:27:37 +0200

Use new tips config script

Diffstat:
Dbin/taler-deployment-top-reserve | 36------------------------------------
Mbuildbot/top_reserve.sh | 2+-
2 files changed, 1 insertion(+), 37 deletions(-)

diff --git a/bin/taler-deployment-top-reserve b/bin/taler-deployment-top-reserve @@ -1,36 +0,0 @@ -#!/usr/bin/env bash - -set -eu - -if test -z $TALER_ENV_NAME || test -z $TALER_CONFIG_CURRENCY; then - echo "Please source ~/activate" - exit 1 -fi - -# %N is current nanoseconds. -UUID=$(date +"uuid-%N") - -instance=default - -reserve_priv_filename=$(taler-config -s "instance-$instance" -o tip_reserve_priv_filename -f) - -echo "Reading tipping reserve private key from $reserve_priv_filename" - -RESERVE=$(gnunet-ecc -p "$reserve_priv_filename") - -failed=0 -taler-bank-transfer \ - --amount="$TALER_CONFIG_CURRENCY:100.00" \ - --bank="https://bank.$TALER_ENV_NAME.taler.net/" \ - --credit=2 \ - --debit=8 \ - --log="INFO" \ - --pass="x" \ - --subject=$RESERVE \ - --user="Survey" || failed=1 - -if [[ $failed = 1 ]]; then - echo Wire transfer failed! - exit 1 -fi - diff --git a/buildbot/top_reserve.sh b/buildbot/top_reserve.sh @@ -1,4 +1,4 @@ #!/bin/bash set -eu source "${HOME}/activate" -taler-deployment-top-reserve +taler-config-tips