gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-deployment] branch master updated: tag-based environ


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: tag-based environments
Date: Sat, 31 Aug 2019 15:18:52 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new f02afbc  tag-based environments
f02afbc is described below

commit f02afbcb990ff96516073fbbee5c303091ca44ce
Author: Florian Dold <address@hidden>
AuthorDate: Sat Aug 31 15:18:49 2019 +0200

    tag-based environments
---
 bootstrap-taler    |  9 +++++----
 envconfig.template | 13 +++++++++++++
 2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/bootstrap-taler b/bootstrap-taler
index 74c5a9c..c78f54d 100755
--- 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
new file mode 100644
index 0000000..8c41494
--- /dev/null
+++ 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

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]