commit 445a795cad2462d61953b53f304e6081e4bb6766
parent 5536720fbf01947510a92b3e6b651661947d7a91
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Mon, 22 Apr 2019 19:25:05 +0200
fix var name
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: ${NONACTIVE_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: ${NONACTIVE_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: ${NONACTIVE_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: ${NONACTIVE_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: ${NONACTIVE_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: ${NONACTIVE_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: ${NONACTIVE_COLOR}" \
-s $URL -o /dev/null \
-w "%{http_code}")
if ! test 200 = $http_status_code; then