Merge pull request #5700 from overleaf/jpa-re-generate-build-scripts

[misc] set mongo version in build_script templates and re-generate files

GitOrigin-RevId: 3338084025374f451b1208109407c688ddb68f0a
This commit is contained in:
Jakob Ackermann
2021-11-05 10:39:05 +01:00
committed by Copybot
parent ed825e3170
commit 159eff2097
9 changed files with 41 additions and 29 deletions

View File

@@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
version: '2.3'
version: "2.3"
services:
test_unit:
@@ -11,7 +11,8 @@ services:
command: npm run test:unit:_run
environment:
NODE_ENV: test
NODE_OPTIONS: '--unhandled-rejections=strict'
NODE_OPTIONS: "--unhandled-rejections=strict"
test_acceptance:
build: .
@@ -24,13 +25,14 @@ services:
POSTGRES_HOST: postgres
MOCHA_GREP: ${MOCHA_GREP}
NODE_ENV: test
NODE_OPTIONS: '--unhandled-rejections=strict'
NODE_OPTIONS: "--unhandled-rejections=strict"
depends_on:
mongo:
condition: service_healthy
user: node
command: npm run test:acceptance:_run
tar:
build: .
image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER