Merge pull request #13251 from overleaf/msm-update-mongo-5

Update mongo in dev-environment to 5.0.17

GitOrigin-RevId: 37113421b41255ad4b72e120f4fe23808ef7d743
This commit is contained in:
Miguel Serrano 2023-06-01 09:21:10 +02:00 committed by Copybot
parent 899ec09b70
commit 6c29e0a36e
27 changed files with 43 additions and 27 deletions

View file

@ -3,6 +3,8 @@ chat
--docker-repos=gcr.io/overleaf-ops --docker-repos=gcr.io/overleaf-ops
--env-add= --env-add=
--env-pass-through= --env-pass-through=
--esmock-loader=False
--has-custom-nodemon=True
--node-version=16.17.1 --node-version=16.17.1
--public-repo=False --public-repo=False
--script-version=4.1.0 --script-version=4.2.0

View file

@ -42,7 +42,7 @@ services:
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
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -44,7 +44,7 @@ services:
command: npm run --silent test:acceptance command: npm run --silent test:acceptance
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -3,6 +3,8 @@ contacts
--docker-repos=gcr.io/overleaf-ops --docker-repos=gcr.io/overleaf-ops
--env-add= --env-add=
--env-pass-through= --env-pass-through=
--esmock-loader=True
--has-custom-nodemon=True
--node-version=16.17.1 --node-version=16.17.1
--public-repo=False --public-repo=False
--script-version=4.1.0 --script-version=4.2.0

View file

@ -42,7 +42,7 @@ services:
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
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -44,7 +44,7 @@ services:
command: npm run --silent test:acceptance command: npm run --silent test:acceptance
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -3,6 +3,8 @@ docstore
--docker-repos=gcr.io/overleaf-ops --docker-repos=gcr.io/overleaf-ops
--env-add= --env-add=
--env-pass-through= --env-pass-through=
--esmock-loader=False
--has-custom-nodemon=True
--node-version=16.17.1 --node-version=16.17.1
--public-repo=True --public-repo=True
--script-version=4.1.0 --script-version=4.2.0

View file

@ -51,7 +51,7 @@ services:
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
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -53,7 +53,7 @@ services:
command: npm run --silent test:acceptance command: npm run --silent test:acceptance
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -3,6 +3,8 @@ document-updater
--docker-repos=gcr.io/overleaf-ops --docker-repos=gcr.io/overleaf-ops
--env-add= --env-add=
--env-pass-through= --env-pass-through=
--esmock-loader=False
--has-custom-nodemon=True
--node-version=16.17.1 --node-version=16.17.1
--public-repo=True --public-repo=True
--script-version=4.1.0 --script-version=4.2.0

View file

@ -51,7 +51,7 @@ services:
retries: 20 retries: 20
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -53,7 +53,7 @@ services:
retries: 20 retries: 20
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -3,6 +3,8 @@ history-v1
--docker-repos=gcr.io/overleaf-ops --docker-repos=gcr.io/overleaf-ops
--env-add= --env-add=
--env-pass-through= --env-pass-through=
--esmock-loader=False
--has-custom-nodemon=True
--node-version=16.17.1 --node-version=16.17.1
--public-repo=False --public-repo=False
--script-version=4.1.0 --script-version=4.2.0

View file

@ -50,7 +50,7 @@ services:
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
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -52,7 +52,7 @@ services:
command: npm run --silent test:acceptance command: npm run --silent test:acceptance
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -3,6 +3,8 @@ notifications
--docker-repos=gcr.io/overleaf-ops --docker-repos=gcr.io/overleaf-ops
--env-add= --env-add=
--env-pass-through= --env-pass-through=
--esmock-loader=False
--has-custom-nodemon=True
--node-version=16.17.1 --node-version=16.17.1
--public-repo=True --public-repo=True
--script-version=4.1.0 --script-version=4.2.0

View file

@ -42,7 +42,7 @@ services:
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
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -44,7 +44,7 @@ services:
command: npm run --silent test:acceptance command: npm run --silent test:acceptance
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -3,6 +3,8 @@ project-history
--docker-repos=gcr.io/overleaf-ops --docker-repos=gcr.io/overleaf-ops
--env-add= --env-add=
--env-pass-through= --env-pass-through=
--esmock-loader=True
--has-custom-nodemon=True
--node-version=16.17.1 --node-version=16.17.1
--public-repo=False --public-repo=False
--script-version=4.1.0 --script-version=4.2.0

View file

@ -51,7 +51,7 @@ services:
retries: 20 retries: 20
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -53,7 +53,7 @@ services:
retries: 20 retries: 20
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -9,7 +9,7 @@
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP", "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
"start": "node $NODE_APP_OPTIONS app.js", "start": "node $NODE_APP_OPTIONS app.js",
"nodemon": "nodemon --config nodemon.json", "nodemon": "nodemon --config nodemon.json",
"test:acceptance:_run": "LOG_LEVEL=error mocha --loader=esmock --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js", "test:acceptance:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
"test:unit:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec $@ test/unit/js", "test:unit:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec $@ test/unit/js",
"lint": "eslint --max-warnings 0 --format unix .", "lint": "eslint --max-warnings 0 --format unix .",
"format": "prettier --list-different $PWD/'**/*.js'", "format": "prettier --list-different $PWD/'**/*.js'",

View file

@ -3,6 +3,8 @@ track-changes
--docker-repos=gcr.io/overleaf-ops --docker-repos=gcr.io/overleaf-ops
--env-add=AWS_BUCKET=bucket --env-add=AWS_BUCKET=bucket
--env-pass-through= --env-pass-through=
--esmock-loader=False
--has-custom-nodemon=True
--node-version=16.17.1 --node-version=16.17.1
--public-repo=True --public-repo=True
--script-version=4.1.0 --script-version=4.2.0

View file

@ -58,7 +58,7 @@ services:
retries: 20 retries: 20
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -60,7 +60,7 @@ services:
retries: 20 retries: 20
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
healthcheck: healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"

View file

@ -94,7 +94,7 @@ services:
image: redis image: redis
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
ldap: ldap:

View file

@ -89,7 +89,7 @@ services:
image: redis image: redis
mongo: mongo:
image: mongo:4.4.16 image: mongo:5.0.17
command: --replSet overleaf command: --replSet overleaf
ldap: ldap: