taler-deployment

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

commit 7022c86a13dc55b9b1fa6dd1419d074a29be279c
parent 48b8a881b97487aa32f08beba76740fc9d348d21
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Fri,  8 Jun 2018 14:05:06 +0200

new BB scripts + #5340.

Diffstat:
Mbin/taler-deployment-start | 10----------
Abuildbot/config.sh | 11+++++++++++
Abuildbot/keys.sh | 11+++++++++++
Abuildbot/sign.sh | 11+++++++++++
4 files changed, 33 insertions(+), 10 deletions(-)

diff --git 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 @@ -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 @@ -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 @@ -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'