diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-03-07 14:27:14 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-03-07 14:27:14 +0100 |
commit | b609e52778e12d24cfb1cba7fcad2540aaa0707c (patch) | |
tree | adeade6abf59a8030d5d02b18e6b8fc1ea861ce9 /taler-build/switch_active.sh | |
parent | 7e559340576130b30715ce2c45b766eae959f75f (diff) | |
download | deployment-b609e52778e12d24cfb1cba7fcad2540aaa0707c.tar.gz deployment-b609e52778e12d24cfb1cba7fcad2540aaa0707c.tar.bz2 deployment-b609e52778e12d24cfb1cba7fcad2540aaa0707c.zip |
Restarting ARM via buildbot.
Diffstat (limited to 'taler-build/switch_active.sh')
-rwxr-xr-x | taler-build/switch_active.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/taler-build/switch_active.sh b/taler-build/switch_active.sh deleted file mode 100755 index 69f8665..0000000 --- a/taler-build/switch_active.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -# Build all Taler components for the non active party -# of blue-green, and switch to it whenever compilation -# and testing succeed. The script is not portable to -# system using different usernames and directories, -# respect to taler.net, for blue-green deployments - -set -eu - -if ! taler-deployment-build > build.log 2>&1; then - echo "Failed to rebuild, not switching" - if test "$1" = "--notify"; then - mail -s "[Taler build] $(date)" build-failure@taler.net < build.log - fi - exit 1 -else - echo "Successfully built, switching" - ln -fs -T /home/$(whoami)/sockets /home/test/sockets -fi - -taler-deployment-restart |