Skip to content
Snippets Groups Projects
Commit dd74fc27 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Tests through HAproxy

parent f6f58c82
No related branches found
No related tags found
No related merge requests found
...@@ -6,5 +6,6 @@ applications=( static wordpress known ) ...@@ -6,5 +6,6 @@ applications=( static wordpress known )
for application in "${applications[@]}" for application in "${applications[@]}"
do do
curl -Lk $application.test
/data/indiehosters/tests/clean.sh $application /data/indiehosters/tests/clean.sh $application
done done
...@@ -18,6 +18,5 @@ else ...@@ -18,6 +18,5 @@ else
fi fi
systemctl list-units | grep "$image\.test" | grep -c failed | grep 0 systemctl list-units | grep "$image\.test" | grep -c failed | grep 0
ip=`docker inspect --format {{.NetworkSettings.IPAddress}} $image.test` curl -L $image.test
curl -L $ip
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment