[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: new BB scripts +
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: new BB scripts + #5340. |
Date: |
Fri, 08 Jun 2018 14:06:04 +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 7022c86 new BB scripts + #5340.
7022c86 is described below
commit 7022c86a13dc55b9b1fa6dd1419d074a29be279c
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jun 8 14:05:06 2018 +0200
new BB scripts + #5340.
---
bin/taler-deployment-start | 10 ----------
buildbot/config.sh | 11 +++++++++++
buildbot/keys.sh | 11 +++++++++++
buildbot/sign.sh | 11 +++++++++++
4 files changed, 33 insertions(+), 10 deletions(-)
diff --git a/bin/taler-deployment-start b/bin/taler-deployment-start
index 5094149..191fb03 100755
--- a/bin/taler-deployment-start
+++ b/bin/taler-deployment-start
@@ -9,16 +9,6 @@ ulimit -c $((100 * 1024)) &>/dev/null || true
cd $HOME
-if [[ ! -e $HOME/.config/taler.conf ]]; then
- taler-deployment-config-generate
-fi
-
-taler-deployment-config-sign
-
-taler-deployment-keyup
-
-taler-deployment-auditor-sign
-
taler-deployment-arm -s
if [ "${TALER_CONFIG_STANDALONE:-0}" = 1 ]; then
diff --git a/buildbot/config.sh b/buildbot/config.sh
new file mode 100755
index 0000000..a3f9434
--- /dev/null
+++ b/buildbot/config.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+active=$(sudo -u test cat /home/test/active)
+nonactive="test-blue"
+echo "Active party: ${active}"
+
+if test $active = "test-blue"; then
+ nonactive="test-green"
+fi
+
+sudo -u $nonactive bash -c 'source $HOME/activate;
taler-deployment-config-generate'
diff --git a/buildbot/keys.sh b/buildbot/keys.sh
new file mode 100755
index 0000000..45f4f86
--- /dev/null
+++ b/buildbot/keys.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+active=$(sudo -u test cat /home/test/active)
+nonactive="test-blue"
+echo "Active party: ${active}"
+
+if test $active = "test-blue"; then
+ nonactive="test-green"
+fi
+
+sudo -u $nonactive bash -c 'source $HOME/activate; taler-deployment-keyup'
diff --git a/buildbot/sign.sh b/buildbot/sign.sh
new file mode 100755
index 0000000..68c4b51
--- /dev/null
+++ b/buildbot/sign.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+active=$(sudo -u test cat /home/test/active)
+nonactive="test-blue"
+echo "Active party: ${active}"
+
+if test $active = "test-blue"; then
+ nonactive="test-green"
+fi
+
+sudo -u $nonactive bash -c 'source $HOME/activate;
taler-deployment-config-sign'
--
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: new BB scripts + #5340.,
gnunet <=