mirror of
https://gitlab.com/mobicoop/v3/service/configuration.git
synced 2026-01-09 01:22:40 +00:00
simplify test ci --check
This commit is contained in:
@@ -3,10 +3,10 @@ SERVICE_URL=0.0.0.0
|
||||
SERVICE_PORT=5003
|
||||
|
||||
# PRISMA
|
||||
DATABASE_URL="postgresql://configuration:configuration@v3-configuration-db-test:5432/configuration?schema=public"
|
||||
DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"
|
||||
|
||||
# RABBIT MQ
|
||||
RMQ_URI=amqp://v3-configuration-broker:5672
|
||||
RMQ_URI=amqp://v3-broker:5672
|
||||
|
||||
# MESSAGE BROKER
|
||||
BROKER_IMAGE=rabbitmq:3-alpine
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
testlog() {
|
||||
docker logs v3-configuration-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
|
||||
|
||||
Reference in New Issue
Block a user