commit 9269d93ad206226a22842ee6a0cb8cbb07b55d21
parent 4caedfbd6f52aed405ea5bf530f4eed50df0eb23
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Wed, 17 Apr 2019 15:26:29 +0200
syntax
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/buildbot/checks.sh b/buildbot/checks.sh
@@ -30,7 +30,7 @@ error_fmt="%s (http status code: %s)/(curl exit code: %s - %s)\n"
URL="https://exchange.${DEPLOYMENT}.${DOMAIN}/"
http_status_code=$(curl \
- -H "X-Taler-Deployment-Color: "${ACTIVE_COLOR}" \
+ -H "X-Taler-Deployment-Color: ${ACTIVE_COLOR}" \
-s "$URL" -o /dev/null \
-w "%{http_code}")
if ! test 200 = $http_status_code; then
@@ -43,7 +43,7 @@ fi
URL="http://backend.${DEPLOYMENT}.${DOMAIN}/"
http_status_code=$(curl \
- -H "X-Taler-Deployment-Color: "${ACTIVE_COLOR}" \
+ -H "X-Taler-Deployment-Color: ${ACTIVE_COLOR}" \
-s $URL \
--header "Authorization: ApiKey sandbox" \
-o /dev/null \
@@ -59,7 +59,7 @@ fi
URL="https://shop.${DEPLOYMENT}.${DOMAIN}/"
http_status_code=$(curl \
- -H "X-Taler-Deployment-Color: "${ACTIVE_COLOR}" \
+ -H "X-Taler-Deployment-Color: ${ACTIVE_COLOR}" \
-s $URL -o /dev/null \
-w "%{http_code}")
if ! test 200 = $http_status_code; then
@@ -72,7 +72,7 @@ fi
URL="https://survey.${DEPLOYMENT}.${DOMAIN}/"
http_status_code=$(curl \
- -H "X-Taler-Deployment-Color: "${ACTIVE_COLOR}" \
+ -H "X-Taler-Deployment-Color: ${ACTIVE_COLOR}" \
-s $URL -o /dev/null \
-w "%{http_code}")
if ! test 200 = $http_status_code; then
@@ -85,7 +85,7 @@ fi
URL="https://donations.${DEPLOYMENT}.${DOMAIN}/"
http_status_code=$(curl \
- -H "X-Taler-Deployment-Color: "${ACTIVE_COLOR}" \
+ -H "X-Taler-Deployment-Color: ${ACTIVE_COLOR}" \
-s $URL -o /dev/null \
-w "%{http_code}")
if ! test 200 = $http_status_code; then
@@ -98,7 +98,7 @@ fi
URL="https://bank.${DEPLOYMENT}.${DOMAIN}/"
http_status_code=$(curl \
- -H "X-Taler-Deployment-Color: "${ACTIVE_COLOR}" \
+ -H "X-Taler-Deployment-Color: ${ACTIVE_COLOR}" \
-s $URL -o /dev/null \
-w "%{http_code}")
if ! test 302 = $http_status_code; then
@@ -111,7 +111,7 @@ fi
URL="https://${DEPLOYMENT}.${DOMAIN}/en/index.html"
http_status_code=$(curl \
- -H "X-Taler-Deployment-Color: "${ACTIVE_COLOR}" \
+ -H "X-Taler-Deployment-Color: ${ACTIVE_COLOR}" \
-s $URL -o /dev/null \
-w "%{http_code}")
if ! test 200 = $http_status_code; then