From 0c90589c2c05ba02a6c8205767b495985b5b2472 Mon Sep 17 00:00:00 2001 From: sbriat Date: Tue, 18 Jul 2023 15:21:52 +0200 Subject: [PATCH] update env.ci --- ci/.env.ci | 17 +---------------- package.json | 2 +- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/ci/.env.ci b/ci/.env.ci index 92e9b1d..98371ee 100644 --- a/ci/.env.ci +++ b/ci/.env.ci @@ -6,7 +6,7 @@ SERVICE_PORT=5006 DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public" # RABBIT MQ -RMQ_URI=amqp://v3-broker:5672 +RMQ_URI=amqp://v3-ad-broker:5672 # MESSAGE BROKER BROKER_IMAGE=rabbitmq:3-alpine @@ -14,18 +14,3 @@ BROKER_IMAGE=rabbitmq:3-alpine # POSTGRES 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 diff --git a/package.json b/package.json index 0eef414..7dd1839 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "test:unit": "jest --testPathPattern 'tests/unit/' --verbose", "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: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:e2e": "jest --config ./test/jest-e2e.json", "migrate": "docker exec v3-auth-api sh -c 'npx prisma migrate dev'",