taler-deployment

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

commit 71960c64a7f4eb0ef766bfcbb884b895ad4a894c
parent f6e23bff0aa1bdcb5705656849ccf5f76dc9b4b3
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Sun, 26 Mar 2017 15:41:42 +0200

moving blue-green switch scripts

Diffstat:
Rtaler-build/switch_build.sh -> buildbot/switch_build.sh | 0
Abuildbot/switch_checks.sh | 31+++++++++++++++++++++++++++++++
Rtaler-build/switch_restart.sh -> buildbot/switch_restart.sh | 0
Rtaler-build/switch_switch.sh -> buildbot/switch_switch.sh | 0
Dtaler-build/switch_check_exchange.sh | 5-----
Dtaler-build/switch_check_merchant.sh | 5-----
6 files changed, 31 insertions(+), 10 deletions(-)

diff --git a/taler-build/switch_build.sh b/buildbot/switch_build.sh diff --git a/buildbot/switch_checks.sh b/buildbot/switch_checks.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +if ! curl -s https://exchange.test.taler.net/ &> /dev/null; then + echo Exchange did not restart correctly + exit 1 +fi + +if ! curl -s http://backend.test.taler.net/ &> /dev/null; then + echo Merchant backend did not restart correctly + exit 1 +fi + +if ! curl -s https://shop.test.taler.net/ &> /dev/null; then + echo Blog did not restart correctly + exit 1 +fi + +if ! curl -s https://donations.test.taler.net/ &> /dev/null; then + echo Donations shop did not restart correctly + exit 1 +fi + +if ! curl -s https://bank.test.taler.net/ &> /dev/null; then + echo Bank did not restart correctly + exit 1 +fi + +if ! curl -s https://test.taler.net/ &> /dev/null; then + echo Landing page did not restart correctly + exit 1 +fi diff --git a/taler-build/switch_restart.sh b/buildbot/switch_restart.sh diff --git a/taler-build/switch_switch.sh b/buildbot/switch_switch.sh diff --git a/taler-build/switch_check_exchange.sh b/taler-build/switch_check_exchange.sh @@ -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 @@ -1,5 +0,0 @@ -#!/bin/bash - -# Keeping this file for future (unix socket based) checking tecnique. - -exit 0