ci: more verbose logging of homeserver startup

This makes it easier to debug, why a server fails to start.
This commit is contained in:
Nicolas Werner 2023-03-20 13:00:59 +01:00
parent 6ab9483d73
commit a124b55ae6
No known key found for this signature in database
1 changed files with 5 additions and 2 deletions

View File

@ -31,8 +31,11 @@ fi
echo "Waiting for homeserver to be available... (GET http://$HOMESERVER/_matrix/client/v3/login)"
while ! curl -XGET "http://$HOMESERVER/_matrix/client/v3/login" >/dev/null 2>/dev/null; do
sleep 2
sleep 5
while ! curl -XGET "http://$HOMESERVER/_matrix/client/v3/login" >/dev/null; do
docker logs "$HOMESERVER_IMPLEMENTATION"
sleep 5
done
echo "Homeserver is up."