Exit tests if a container has status exited
This commit is contained in:
parent
8cde715d04
commit
e90036f674
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue