forked from DGNum/uptime-kuma-api
test: adjust uptime kuma versions
This commit is contained in:
parent
dac368e2a5
commit
cb62b6c814
1 changed files with 2 additions and 2 deletions
|
@ -1,13 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
for version in 1.17.0 1.17.1 1.18.0 1.18.2
|
||||
for version in 1.18.3 1.17.1
|
||||
do
|
||||
echo "Starting uptime kuma $version..."
|
||||
docker run -d -it --rm -p 3001:3001 --name uptimekuma "louislam/uptime-kuma:$version" > /dev/null
|
||||
|
||||
while [[ "$(curl -s -L -o /dev/null -w ''%{http_code}'' 127.0.0.1:3001)" != "200" ]]
|
||||
do
|
||||
sleep 1
|
||||
sleep 0.5
|
||||
done
|
||||
|
||||
echo "Running tests..."
|
||||
|
|
Loading…
Reference in a new issue