1
0
Fork 0
mirror of synced 2024-10-01 09:47:43 +13:00

Exit tests if a container has status exited

This commit is contained in:
kodumbeats 2021-09-15 11:46:08 -04:00
parent 8cde715d04
commit e90036f674

View file

@ -35,6 +35,12 @@ install:
script:
- docker ps -a
# Tests should fail if any container is in exited status
- ALL_UP=`docker ps -aq --filter "status=exited"`
- >
if [[ "$ALL_UP" != "" ]]; then
exit 1
fi
- docker-compose logs appwrite
- docker-compose logs mariadb
- docker-compose logs appwrite-worker-functions