[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: Bootstrapping scr
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: Bootstrapping script. |
Date: |
Thu, 05 Sep 2019 22:27:14 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 60562a2 Bootstrapping script.
60562a2 is described below
commit 60562a2beae6457554f964f5ec5a764f70040460
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Sep 5 22:26:42 2019 +0200
Bootstrapping script.
Wrapping all the steps in one file.
---
bin/taler-deployment-config-generate | 1 +
bootstrap-taler | 11 -----------
meta-bootstrap | 26 ++++++++++++++++++++++++++
3 files changed, 27 insertions(+), 11 deletions(-)
diff --git a/bin/taler-deployment-config-generate
b/bin/taler-deployment-config-generate
index c3ec723..6b87154 100755
--- a/bin/taler-deployment-config-generate
+++ b/bin/taler-deployment-config-generate
@@ -20,6 +20,7 @@ if [[ -z ${TALER_CONFIG_CURRENCY+x} ]]; then
fi
EXCHANGE_PUB=$(gnunet-ecc -p
$HOME/deployment/private-keys/${TALER_CONFIG_ENV}-exchange-master.priv)
+
$HOME/deployment/config/generate-config \
--exchange-pub "$EXCHANGE_PUB" \
--currency "$TALER_CONFIG_CURRENCY" \
diff --git a/bootstrap-taler b/bootstrap-taler
index 9c7dfe5..9fa4673 100755
--- a/bootstrap-taler
+++ b/bootstrap-taler
@@ -140,14 +140,3 @@ if ! test -f $HOME/activate; then
echo FATAL: activate file was not created.
exit 1
fi
-
-source $HOME/activate
-
-echo
-echo "Possible steps now are (~/activate sourced already):"
-echo
-echo "(1) building all Taler: run 'taler-deployment-build'"
-echo "(2) config generation: run 'taler-deployment-generate-config'"
-echo "(3) keys generation: run 'taler-deployment-keyup'"
-echo "(4) signing the /wire response: 'taler-deployment-sign'"
-echo "(5) launch all the services: 'taler-deployment-start'"
diff --git a/meta-bootstrap b/meta-bootstrap
new file mode 100755
index 0000000..c08f0d6
--- /dev/null
+++ b/meta-bootstrap
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+set -eu
+
+usage() {
+ echo "Usage: $0 ENVNAME"
+}
+
+if [ -z ${1+x} ]; then
+ usage
+ exit 1
+fi
+
+./bootstrap-taler $1
+
+source $HOME/activate
+
+taler-deployment-build
+
+taler-deployment-generate-config
+
+taler-deployment-keyup
+
+taler-deployment-sign
+
+echo "Note: launch all the services with taler-deployment-start"
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-deployment] branch master updated: Bootstrapping script.,
gnunet <=