taler-deployment

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

commit 2b7cf594101c0fcc3c94871448385f9ce9d4fe9a
parent 4004328457fb9a9a9848ad51557ff105d6c84fab
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Wed, 17 Apr 2019 19:41:04 +0200

pretty lines

Diffstat:
Mbuildbot/demo-oldchecks.sh | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/buildbot/demo-oldchecks.sh b/buildbot/demo-oldchecks.sh @@ -13,6 +13,7 @@ error_stringify () DOMAIN="taler.net" DEPLOYMENT="demo" + URL="https://exchange.${DEPLOYMENT}.${DOMAIN}/" http_status_code=$(curl \ -s "$URL" -o /dev/null \ @@ -39,13 +40,12 @@ if ! test 200 = $http_status_code; then exit 1 fi -DF="demo-feedback@taler.net" URL="https://shop.${DEPLOYMENT}.${DOMAIN}/" http_status_code=$(curl \ -s $URL -o /dev/null \ -w "%{http_code}") if ! test 200 = $http_status_code; then - printf "%s failed" $URL + printf "%s failed\n" $URL printf "$error_fmt" \ "Blog (${URL}) down" \ $http_status_code $? "$(error_stringify $?)" @@ -57,7 +57,7 @@ http_status_code=$(curl \ -s $URL -o /dev/null \ -w "%{http_code}") if ! test 200 = $http_status_code; then - printf "%s failed" $URL + printf "%s failed\n" $URL printf "$error_fmt" \ "Survey (${URL}) is down" \ $http_status_code $? "$(error_stringify $?)" @@ -69,7 +69,7 @@ http_status_code=$(curl \ -s $URL -o /dev/null \ -w "%{http_code}") if ! test 200 = $http_status_code; then - printf "%s failed" $URL + printf "%s failed\n" $URL printf "$error_fmt" \ "Donations (${URL}) is down" \ $http_status_code $? "$(error_stringify $?)" @@ -81,7 +81,7 @@ http_status_code=$(curl \ -s $URL -o /dev/null \ -w "%{http_code}") if ! test 302 = $http_status_code; then - printf "%s failed" $URL + printf "%s failed\n" $URL printf "$error_fmt" \ "Bank (${URL}) is down" \ $http_status_code $? "$(error_stringify $?)" @@ -93,7 +93,7 @@ http_status_code=$(curl \ -s $URL -o /dev/null \ -w "%{http_code}") if ! test 200 = $http_status_code; then - printf "%s failed" $URL + printf "%s failed\n" $URL printf "$error_fmt" \ "Landing (${URL}) is down." \ $http_status_code $? "$(error_stringify $?)"