summaryrefslogtreecommitdiff
path: root/taler-build
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-03-26 15:41:42 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-03-26 15:41:42 +0200
commit71960c64a7f4eb0ef766bfcbb884b895ad4a894c (patch)
tree3f1562d6fd13dff9b16c5354266244c3d64d84b5 /taler-build
parentf6e23bff0aa1bdcb5705656849ccf5f76dc9b4b3 (diff)
downloaddeployment-71960c64a7f4eb0ef766bfcbb884b895ad4a894c.tar.gz
deployment-71960c64a7f4eb0ef766bfcbb884b895ad4a894c.tar.bz2
deployment-71960c64a7f4eb0ef766bfcbb884b895ad4a894c.zip
moving blue-green switch scripts
Diffstat (limited to 'taler-build')
-rwxr-xr-xtaler-build/switch_build.sh11
-rwxr-xr-xtaler-build/switch_check_exchange.sh5
-rwxr-xr-xtaler-build/switch_check_merchant.sh5
-rwxr-xr-xtaler-build/switch_restart.sh7
-rwxr-xr-xtaler-build/switch_switch.sh12
5 files changed, 0 insertions, 40 deletions
diff --git a/taler-build/switch_build.sh b/taler-build/switch_build.sh
deleted file mode 100755
index f04240f..0000000
--- a/taler-build/switch_build.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/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-build'
diff --git a/taler-build/switch_check_exchange.sh b/taler-build/switch_check_exchange.sh
deleted file mode 100755
index c88e3f7..0000000
--- a/taler-build/switch_check_exchange.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-# Keeping this file for future (unix socket based) checking tecnique.
-
-exit 0
diff --git a/taler-build/switch_check_merchant.sh b/taler-build/switch_check_merchant.sh
deleted file mode 100755
index c88e3f7..0000000
--- a/taler-build/switch_check_merchant.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-# Keeping this file for future (unix socket based) checking tecnique.
-
-exit 0
diff --git a/taler-build/switch_restart.sh b/taler-build/switch_restart.sh
deleted file mode 100755
index 425300b..0000000
--- a/taler-build/switch_restart.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-active=$(sudo -u test cat /home/test/active)
-nonactive="test-blue"
-echo "Active party: ${active}"
-
-sudo -u $nonactive bash -c 'cd $HOME; . activate; taler-deployment-restart'
diff --git a/taler-build/switch_switch.sh b/taler-build/switch_switch.sh
deleted file mode 100755
index a7bfaf0..0000000
--- a/taler-build/switch_switch.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/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
-
-echo "Switching to ${nonactive}."
-sudo -u test bash -c "cd /home/test; ./ln-${nonactive}.sh"