[misc] cleanup unused dependency on redis

This commit is contained in:
Jakob Ackermann 2020-02-12 14:43:19 +01:00
parent f9cefa6f06
commit 79a336dd55
4 changed files with 1 additions and 19 deletions

View file

@ -4,7 +4,7 @@ chat
--env-add= --env-add=
--node-version=10.19.0 --node-version=10.19.0
--acceptance-creds=None --acceptance-creds=None
--dependencies=mongo,redis --dependencies=mongo
--docker-repos=gcr.io/overleaf-ops --docker-repos=gcr.io/overleaf-ops
--env-pass-through= --env-pass-through=
--script-version=1.3.5 --script-version=1.3.5

View file

@ -20,13 +20,5 @@ module.exports = {
url: url:
process.env['MONGO_CONNECTION_STRING'] || process.env['MONGO_CONNECTION_STRING'] ||
`mongodb://${process.env['MONGO_HOST'] || 'localhost'}/sharelatex` `mongodb://${process.env['MONGO_HOST'] || 'localhost'}/sharelatex`
},
redis: {
web: {
host: process.env['REDIS_HOST'] || 'localhost',
port: '6379',
password: process.env['REDIS_PASSWORD'] || ''
}
} }
} }

View file

@ -27,8 +27,6 @@ services:
depends_on: depends_on:
mongo: mongo:
condition: service_healthy condition: service_healthy
redis:
condition: service_healthy
user: node user: node
command: npm run test:acceptance:_run command: npm run test:acceptance:_run
@ -40,8 +38,5 @@ services:
- ./:/tmp/build/ - ./:/tmp/build/
command: tar -czf /tmp/build/build.tar.gz --exclude=build.tar.gz --exclude-vcs . command: tar -czf /tmp/build/build.tar.gz --exclude=build.tar.gz --exclude-vcs .
user: root user: root
redis:
image: redis
mongo: mongo:
image: mongo:3.6 image: mongo:3.6

View file

@ -34,13 +34,8 @@ services:
depends_on: depends_on:
mongo: mongo:
condition: service_healthy condition: service_healthy
redis:
condition: service_healthy
command: npm run test:acceptance command: npm run test:acceptance
redis:
image: redis
mongo: mongo:
image: mongo:3.6 image: mongo:3.6