simplify test ci --check

This commit is contained in:
sbriat
2023-03-17 11:25:25 +01:00
parent 87e142fcfd
commit e68ff4ca9b
6 changed files with 12 additions and 50 deletions

View File

@@ -3,7 +3,7 @@ SERVICE_URL=0.0.0.0
SERVICE_PORT=5002
# PRISMA
DATABASE_URL="postgresql://auth:auth@v3-auth-db-test:5432/auth?schema=public"
DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"
# RABBIT MQ
RMQ_URI=amqp://v3-auth-broker:5672

View File

@@ -1,6 +1,6 @@
#!/bin/bash
testlog() {
docker logs v3-auth-db-test | grep -q "database system is ready to accept connections"
docker logs v3-db | grep -q "database system is ready to accept connections"
}
testlog 2> /dev/null