diff --git a/.circleci/config.yml b/.circleci/config.yml index dd5711ef93..3ac4b4b42c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,12 +29,11 @@ integration: &integration <<: *env docker: - image: cimg/node:18.18.2 + - image: redis # Integration tests need MongoDB server running and accessible on port 27017 - image: mongo:4.0 name: mongo command: mongod --oplogSize 128 --replSet rs0 --storageEngine=wiredTiger - - image: redis - name: redis2 initialize_mongo: &initialize_mongo - run: @@ -136,12 +135,10 @@ jobs: environment: MONGO_URL: mongodb://mongo:27017/test MONGO_USE_UNIFIED_TOPOLOGY: false - REDIS_CONTAINER: redis2 - REDIS_SERVER: redis://redis2:6379 + REDIS_SERVER: redis://localhost:6379 command: | echo "MONGO_URL: $MONGO_URL" echo "REDIS_SERVER: $REDIS_SERVER" - echo "REDIS_CONTAINER: $REDIS_CONTAINER" pnpm run env pnpm run test:integration:query resource_class: large @@ -164,12 +161,10 @@ jobs: environment: MONGO_URL: mongodb://mongo:27017/test MONGO_USE_UNIFIED_TOPOLOGY: false - REDIS_CONTAINER: redis2 - REDIS_SERVER: redis://redis2:6379 + REDIS_SERVER: redis://localhost:6379 command: | echo "MONGO_URL: $MONGO_URL" echo "REDIS_SERVER: $REDIS_SERVER" - echo "REDIS_CONTAINER: $REDIS_CONTAINER" pnpm run env pnpm run test:integration:mutation1 resource_class: large @@ -192,12 +187,10 @@ jobs: environment: MONGO_URL: mongodb://mongo:27017/test MONGO_USE_UNIFIED_TOPOLOGY: false - REDIS_CONTAINER: redis2 - REDIS_SERVER: redis://redis2:6379 + REDIS_SERVER: redis://localhost:6379 command: | echo "MONGO_URL: $MONGO_URL" echo "REDIS_SERVER: $REDIS_SERVER" - echo "REDIS_CONTAINER: $REDIS_CONTAINER" pnpm run env pnpm run test:integration:mutation2 resource_class: large