taler-deployment

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

commit f02afbcb990ff96516073fbbee5c303091ca44ce
parent 18fec64d23801328a50c01c528100d2377b79daf
Author: Florian Dold <florian.dold@gmail.com>
Date:   Sat, 31 Aug 2019 15:18:49 +0200

tag-based environments

Diffstat:
Mbootstrap-taler | 9+++++----
Aenvconfig.template | 13+++++++++++++
2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/bootstrap-taler b/bootstrap-taler @@ -19,7 +19,7 @@ set -eu usage() { - echo "Usage: $0 ENVNAME TAG" + echo "Usage: $0 ENVNAME" } if [ -z ${1+x} ]; then @@ -28,7 +28,6 @@ if [ -z ${1+x} ]; then fi ENVNAME=$1 -TAG=$2 CURRENCY=TESTKUDOS case $ENVNAME in @@ -61,8 +60,10 @@ if [[ "$ENVNAME" = test ]]; then fi for component in twister bank merchant landing exchange donations blog survey backoffice ; do - echo "Checking out $component to $TAG" - git -C $HOME/$component checkout $TAG + varname=tag_$component + tag=${!varname} + echo "Checking out $component to $tag" + git -C $HOME/$component checkout $tag done cat >$HOME/activate <<EOL diff --git a/envconfig.template b/envconfig.template @@ -0,0 +1,13 @@ +# Template for the environment configuration + +tag=demo-2019-08-31-00 + +tag_exchange=$tag +tag_merchant=$tag +tag_bank=$tag +tag_twister=$tag +tag_landing=$tag +tag_donations=$tag +tag_blog=$tag +tag_survey=$tag +tag_backoffice=$tag