Fix UI tests not exiting if container fails to start

This commit is contained in:
Théophile Diot 2023-08-21 16:08:32 +02:00
parent 55fd177901
commit d82136f040
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06
2 changed files with 3 additions and 2 deletions

View file

@ -21,7 +21,7 @@ services:
www.example.com_USE_UI: "yes"
www.example.com_SERVE_FILES: "no"
www.example.com_USE_REVERSE_PROXY: "yes"
www.example.com_REVERSE_PROXY_URL: "/admin/"
www.example.com_REVERSE_PROXY_URL: "/admin"
www.example.com_REVERSE_PROXY_HOST: "http://bw-ui:7000"
www.example.com_INTERCEPTED_ERROR_CODES: "400 405 413 429 500 501 502 503 504"
CUSTOM_CONF_SERVER_HTTP_port-redirect: "port_in_redirect on;"

View file

@ -54,7 +54,8 @@ ret=$?
if [ $ret -ne 0 ] ; then
docker-compose logs
echo "❌ Up failed"
exit 1
fi
# Exit
exit $?
exit ret