added ./run_tests.sh to comply Dockerfile

pull/2/head
Luca Pasquali 2021-02-01 17:59:27 +01:00
parent 6982ec198c
commit b79c3b31c6
1 changed files with 8 additions and 0 deletions

8
run_tests.sh 100755
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
CURL=$(which curl)
catalina.sh start
sleep 4
#$CURL --retry-delay 1 --retry 60 -X GET "http://$HOSTNAME:8080/geoserver/rest/about/manifest" -H "accept: application/json" -H "content-type: application/json"
#$CURL --retry-delay 1 --retry 60 -X GET "http://$HOSTNAME:8080/geoserver/rest/layers" -H "accept: application/json" -H "content-type: application/json"
$CURL -I -s --retry-delay 1 --retry 60 -X GET "http://$HOSTNAME:8080/geoserver/wms?service=wms&version=1.1.1&request=GetCapabilities"