Merge pull request #5552 from overleaf/bg-node-upgrade-other

upgrade node to v12.22.7 (other services)

GitOrigin-RevId: 889cf9a77173119fec8f200eeef9ddeefca0720b
This commit is contained in:
Brian Gough
2021-10-25 11:40:46 +01:00
committed by Copybot
parent 51b42381bd
commit 43c381e4d5
50 changed files with 83 additions and 85 deletions

View File

@@ -2,23 +2,23 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
version: "2.3"
version: '2.3'
services:
test_unit:
image: node:12.22.3
image: node:12.22.7
volumes:
- .:/app
working_dir: /app
environment:
MOCHA_GREP: ${MOCHA_GREP}
NODE_ENV: test
NODE_OPTIONS: "--unhandled-rejections=strict"
NODE_OPTIONS: '--unhandled-rejections=strict'
command: npm run --silent test:unit
user: node
test_acceptance:
image: node:12.22.3
image: node:12.22.7
volumes:
- .:/app
working_dir: /app
@@ -31,7 +31,7 @@ services:
MOCHA_GREP: ${MOCHA_GREP}
LOG_LEVEL: ERROR
NODE_ENV: test
NODE_OPTIONS: "--unhandled-rejections=strict"
NODE_OPTIONS: '--unhandled-rejections=strict'
user: node
depends_on:
mongo:
@@ -44,4 +44,3 @@ services:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"
interval: 1s
retries: 20