From 79a336dd551d2ae1b4e748fe6f4ac4ad3a7a1356 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Wed, 12 Feb 2020 14:43:19 +0100 Subject: [PATCH] [misc] cleanup unused dependency on redis --- services/chat/buildscript.txt | 2 +- services/chat/config/settings.defaults.js | 8 -------- services/chat/docker-compose.ci.yml | 5 ----- services/chat/docker-compose.yml | 5 ----- 4 files changed, 1 insertion(+), 19 deletions(-) diff --git a/services/chat/buildscript.txt b/services/chat/buildscript.txt index e329b95239..86d49e0cde 100644 --- a/services/chat/buildscript.txt +++ b/services/chat/buildscript.txt @@ -4,7 +4,7 @@ chat --env-add= --node-version=10.19.0 --acceptance-creds=None ---dependencies=mongo,redis +--dependencies=mongo --docker-repos=gcr.io/overleaf-ops --env-pass-through= --script-version=1.3.5 diff --git a/services/chat/config/settings.defaults.js b/services/chat/config/settings.defaults.js index a52164d63a..ddcf2f8bc0 100644 --- a/services/chat/config/settings.defaults.js +++ b/services/chat/config/settings.defaults.js @@ -20,13 +20,5 @@ module.exports = { url: process.env['MONGO_CONNECTION_STRING'] || `mongodb://${process.env['MONGO_HOST'] || 'localhost'}/sharelatex` - }, - - redis: { - web: { - host: process.env['REDIS_HOST'] || 'localhost', - port: '6379', - password: process.env['REDIS_PASSWORD'] || '' - } } } diff --git a/services/chat/docker-compose.ci.yml b/services/chat/docker-compose.ci.yml index b99da9b18e..aa98f3a225 100644 --- a/services/chat/docker-compose.ci.yml +++ b/services/chat/docker-compose.ci.yml @@ -27,8 +27,6 @@ services: depends_on: mongo: condition: service_healthy - redis: - condition: service_healthy user: node command: npm run test:acceptance:_run @@ -40,8 +38,5 @@ services: - ./:/tmp/build/ command: tar -czf /tmp/build/build.tar.gz --exclude=build.tar.gz --exclude-vcs . user: root - redis: - image: redis - mongo: image: mongo:3.6 diff --git a/services/chat/docker-compose.yml b/services/chat/docker-compose.yml index 6a1bbb1005..cc765c3508 100644 --- a/services/chat/docker-compose.yml +++ b/services/chat/docker-compose.yml @@ -34,13 +34,8 @@ services: depends_on: mongo: condition: service_healthy - redis: - condition: service_healthy command: npm run test:acceptance - redis: - image: redis - mongo: image: mongo:3.6