taler-deployment

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

commit 3750f4e3de4f970c94f4f2a7b9f2b5c8402e9e86
parent e4bf87bdca07c4ad1a6a3b875ff94014f5cf2faf
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Mon, 18 Dec 2017 19:28:29 +0100

 #5219

Diffstat:
Mbuildbot/checks.sh | 24++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/buildbot/checks.sh b/buildbot/checks.sh @@ -8,32 +8,44 @@ if test $active = "test-blue"; then nonactive="green" fi -if ! curl -H "X-Taler-Deployment-Color: $nonactive" -s https://exchange.test.taler.net/ &> /dev/null; then +if ! test 200 = curl \ + -H "X-Taler-Deployment-Color: $nonactive" \ + -s https://exchange.test.taler.net/ &> /dev/null; then echo Exchange did not restart correctly exit 1 fi -if ! curl -H "X-Taler-Deployment-Color: $nonactive" -s http://backend.test.taler.net/ &> /dev/null; then +if ! test 200 = curl \ + -H "X-Taler-Deployment-Color: $nonactive" \ + -s http://backend.test.taler.net/ &> /dev/null; then echo Merchant backend did not restart correctly exit 1 fi -if ! curl -H "X-Taler-Deployment-Color: $nonactive" -s https://shop.test.taler.net/ &> /dev/null; then +if ! test 200 = curl \ + -H "X-Taler-Deployment-Color: $nonactive" \ + -s https://shop.test.taler.net/ &> /dev/null; then echo Blog did not restart correctly exit 1 fi -if ! curl -H "X-Taler-Deployment-Color: $nonactive" -s https://donations.test.taler.net/ &> /dev/null; then +if ! test 200 = curl \ + -H "X-Taler-Deployment-Color: $nonactive" \ + -s https://donations.test.taler.net/ &> /dev/null; then echo Donations shop did not restart correctly exit 1 fi -if ! curl -H "X-Taler-Deployment-Color: $nonactive" -s https://bank.test.taler.net/ &> /dev/null; then +if ! test 200 = curl \ + -H "X-Taler-Deployment-Color: $nonactive" \ + -s https://bank.test.taler.net/ &> /dev/null; then echo Bank did not restart correctly exit 1 fi -if ! curl -H "X-Taler-Deployment-Color: $nonactive" -s https://test.taler.net/ &> /dev/null; then +if ! test 200 = curl \ + -H "X-Taler-Deployment-Color: $nonactive" \ + -s https://test.taler.net/ &> /dev/null; then echo Landing page did not restart correctly exit 1 fi