summaryrefslogtreecommitdiff
path: root/buildbot
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-04-22 19:25:05 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-04-22 19:25:05 +0200
commit445a795cad2462d61953b53f304e6081e4bb6766 (patch)
treefe99cd0153f95f82a2ad57eb032ae60bc683eb77 /buildbot
parent5536720fbf01947510a92b3e6b651661947d7a91 (diff)
downloaddeployment-445a795cad2462d61953b53f304e6081e4bb6766.tar.gz
deployment-445a795cad2462d61953b53f304e6081e4bb6766.tar.bz2
deployment-445a795cad2462d61953b53f304e6081e4bb6766.zip
fix var name
Diffstat (limited to 'buildbot')
-rwxr-xr-xbuildbot/checks.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/buildbot/checks.sh b/buildbot/checks.sh
index f608573..811be15 100755
--- 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