taler-deployment

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

commit 9eb2da5236166f37d68310cdd7c1e889a992e384
parent 9a84b3583444a726d61115b7fb2806f73233238a
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Tue, 16 Apr 2019 13:07:10 +0200

fix domain in checks.

Diffstat:
Mbuildbot/checks.sh | 15++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/buildbot/checks.sh b/buildbot/checks.sh @@ -2,6 +2,7 @@ DEPLOYMENT="test" +DOMAIN="wild.gv.taler.net" if test "stable" = ${BRANCH}; then DEPLOYMENT="demo" @@ -32,7 +33,7 @@ error_stringify () error_fmt="%s (http status code: %s)/(curl exit code: %s - %s)\n" -URL="https://exchange.${DEPLOYMENT}.taler.net/" +URL="https://exchange.${DEPLOYMENT}.${DOMAIN}/" http_status_code=$(curl \ -H "X-Taler-Deployment-Color: $nonactive" \ -s "$URL" -o /dev/null \ @@ -45,7 +46,7 @@ if ! test 200 = $http_status_code; then exit 1 fi -URL="http://backend.${DEPLOYMENT}.taler.net/" +URL="http://backend.${DEPLOYMENT}.${DOMAIN}/" http_status_code=$(curl \ -H "X-Taler-Deployment-Color: $nonactive" \ -s $URL \ @@ -61,7 +62,7 @@ if ! test 200 = $http_status_code; then fi -URL="https://shop.${DEPLOYMENT}.taler.net/" +URL="https://shop.${DEPLOYMENT}.${DOMAIN}/" http_status_code=$(curl \ -H "X-Taler-Deployment-Color: $nonactive" \ -s $URL -o /dev/null \ @@ -74,7 +75,7 @@ if ! test 200 = $http_status_code; then exit 1 fi -URL="https://survey.${DEPLOYMENT}.taler.net/" +URL="https://survey.${DEPLOYMENT}.${DOMAIN}/" http_status_code=$(curl \ -H "X-Taler-Deployment-Color: $nonactive" \ -s $URL -o /dev/null \ @@ -87,7 +88,7 @@ if ! test 200 = $http_status_code; then exit 1 fi -URL="https://donations.${DEPLOYMENT}.taler.net/" +URL="https://donations.${DEPLOYMENT}.${DOMAIN}/" http_status_code=$(curl \ -H "X-Taler-Deployment-Color: $nonactive" \ -s $URL -o /dev/null \ @@ -100,7 +101,7 @@ if ! test 200 = $http_status_code; then exit 1 fi -URL="https://bank.${DEPLOYMENT}.taler.net/" +URL="https://bank.${DEPLOYMENT}.${DOMAIN}/" http_status_code=$(curl \ -H "X-Taler-Deployment-Color: $nonactive" \ -s $URL -o /dev/null \ @@ -113,7 +114,7 @@ if ! test 302 = $http_status_code; then exit 1 fi -URL="https://${DEPLOYMENT}.taler.net/en/index.html" +URL="https://${DEPLOYMENT}.${DOMAIN}/en/index.html" http_status_code=$(curl \ -H "X-Taler-Deployment-Color: $nonactive" \ -s $URL -o /dev/null \