update env.ci
This commit is contained in:
parent
8df93d37f9
commit
0c90589c2c
17
ci/.env.ci
17
ci/.env.ci
|
@ -6,7 +6,7 @@ SERVICE_PORT=5006
|
||||||
DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"
|
DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"
|
||||||
|
|
||||||
# RABBIT MQ
|
# RABBIT MQ
|
||||||
RMQ_URI=amqp://v3-broker:5672
|
RMQ_URI=amqp://v3-ad-broker:5672
|
||||||
|
|
||||||
# MESSAGE BROKER
|
# MESSAGE BROKER
|
||||||
BROKER_IMAGE=rabbitmq:3-alpine
|
BROKER_IMAGE=rabbitmq:3-alpine
|
||||||
|
@ -14,18 +14,3 @@ BROKER_IMAGE=rabbitmq:3-alpine
|
||||||
# POSTGRES
|
# POSTGRES
|
||||||
POSTGRES_IMAGE=postgres:15.0
|
POSTGRES_IMAGE=postgres:15.0
|
||||||
|
|
||||||
# DEFAULT CARPOOL DEPARTURE MARGIN (in seconds)
|
|
||||||
DEPARTURE_MARGIN=900
|
|
||||||
|
|
||||||
# DEFAULT ROLE
|
|
||||||
ROLE=passenger
|
|
||||||
|
|
||||||
# SEATS PROPOSED AS DRIVER / REQUESTED AS PASSENGER
|
|
||||||
SEATS_PROPOSED=3
|
|
||||||
SEATS_REQUESTED=1
|
|
||||||
|
|
||||||
# ACCEPT ONLY SAME FREQUENCY REQUESTS
|
|
||||||
STRICT_FREQUENCY=false
|
|
||||||
|
|
||||||
# default timezone
|
|
||||||
DEFAULT_TIMEZONE=Europe/Paris
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
"test:unit": "jest --testPathPattern 'tests/unit/' --verbose",
|
"test:unit": "jest --testPathPattern 'tests/unit/' --verbose",
|
||||||
"test:unit:ci": "jest --testPathPattern 'tests/unit/' --coverage",
|
"test:unit:ci": "jest --testPathPattern 'tests/unit/' --coverage",
|
||||||
"test:integration": "npm run migrate:test && dotenv -e .env.test -- jest --testPathPattern 'tests/integration/' --verbose --runInBand",
|
"test:integration": "npm run migrate:test && dotenv -e .env.test -- jest --testPathPattern 'tests/integration/' --verbose --runInBand",
|
||||||
"test:integration:ci": "npm run migrate:test:ci && dotenv -e ci/.env.ci -- jest --testPathPattern 'tests/integration/' --verbose --runInBand",
|
"test:integration:ci": "npm run migrate:test:ci && dotenv -e ci/.env.ci -- jest --testPathPattern 'tests/integration/' --runInBand",
|
||||||
"test:cov": "jest --testPathPattern 'tests/unit/' --coverage",
|
"test:cov": "jest --testPathPattern 'tests/unit/' --coverage",
|
||||||
"test:e2e": "jest --config ./test/jest-e2e.json",
|
"test:e2e": "jest --config ./test/jest-e2e.json",
|
||||||
"migrate": "docker exec v3-auth-api sh -c 'npx prisma migrate dev'",
|
"migrate": "docker exec v3-auth-api sh -c 'npx prisma migrate dev'",
|
||||||
|
|
Loading…
Reference in New Issue