From e6097f68852a01a71094f01beed893d1b6902c16 Mon Sep 17 00:00:00 2001 From: dcarrillo Date: Fri, 6 Mar 2020 17:06:00 +0100 Subject: [PATCH] Bump version to 1.17.9 --- conf.env | 2 +- tests/test.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/conf.env b/conf.env index d1dce71..adf58ef 100644 --- a/conf.env +++ b/conf.env @@ -1,3 +1,3 @@ -NGINX_VERSION=1.17.8 +NGINX_VERSION=1.17.9 NGX_GEOIP2_VERSION=3.3 DOCKER_IMAGE=dcarrillo/nginx diff --git a/tests/test.sh b/tests/test.sh index 494475d..3ece44e 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -74,12 +74,14 @@ docker run --name "${NGINX_VERSION}"_requester --rm --link "${NGINX_VERSION}"_te exec_docker="docker exec -i ${NGINX_VERSION}_requester" $exec_docker apk add curl > /dev/null +## Test 1 status code by protocol for request in http://${NGINX_VERSION}_test/nginx_status https://${NGINX_VERSION}_test/nginx_status; do printf "\nRequesting %s\n" "$request" STATUS_CODE=$($exec_docker curl -s -k -m 5 -o /dev/null -w "%{http_code}" "$request") _check_status_code "$STATUS_CODE" done +## Test 2 request my ip request="http://${NGINX_VERSION}_test/ip" printf "\nRequesting %s\n" "$request" RESPONSE=$($exec_docker curl -s -m 5 "$request" | tr -d '\r')