diff --git a/libraries/access-token-encryptor/.nvmrc b/libraries/access-token-encryptor/.nvmrc new file mode 100644 index 0000000000..d8ff873d1a --- /dev/null +++ b/libraries/access-token-encryptor/.nvmrc @@ -0,0 +1 @@ +12.22.7 diff --git a/libraries/access-token-encryptor/buildscript.txt b/libraries/access-token-encryptor/buildscript.txt index 689fc7fdf3..c61653aa6a 100644 --- a/libraries/access-token-encryptor/buildscript.txt +++ b/libraries/access-token-encryptor/buildscript.txt @@ -4,6 +4,6 @@ access-token-encryptor --env-add= --env-pass-through= --is-library=True ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=False --script-version=3.11.0 diff --git a/libraries/logger/.nvmrc b/libraries/logger/.nvmrc new file mode 100644 index 0000000000..d8ff873d1a --- /dev/null +++ b/libraries/logger/.nvmrc @@ -0,0 +1 @@ +12.22.7 diff --git a/libraries/logger/buildscript.txt b/libraries/logger/buildscript.txt index 7e4f7d2a2f..b5c76a4100 100644 --- a/libraries/logger/buildscript.txt +++ b/libraries/logger/buildscript.txt @@ -4,6 +4,6 @@ logger --env-add= --env-pass-through= --is-library=True ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=False --script-version=3.11.0 diff --git a/libraries/metrics/.nvmrc b/libraries/metrics/.nvmrc new file mode 100644 index 0000000000..d8ff873d1a --- /dev/null +++ b/libraries/metrics/.nvmrc @@ -0,0 +1 @@ +12.22.7 diff --git a/libraries/metrics/buildscript.txt b/libraries/metrics/buildscript.txt index 4d8e82e047..3f17d0d2be 100644 --- a/libraries/metrics/buildscript.txt +++ b/libraries/metrics/buildscript.txt @@ -4,6 +4,6 @@ metrics --env-add= --env-pass-through= --is-library=True ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=False --script-version=3.11.0 diff --git a/libraries/o-error/.nvmrc b/libraries/o-error/.nvmrc new file mode 100644 index 0000000000..d8ff873d1a --- /dev/null +++ b/libraries/o-error/.nvmrc @@ -0,0 +1 @@ +12.22.7 diff --git a/libraries/o-error/buildscript.txt b/libraries/o-error/buildscript.txt index 46774d0943..d4668aa1a4 100644 --- a/libraries/o-error/buildscript.txt +++ b/libraries/o-error/buildscript.txt @@ -4,6 +4,6 @@ o-error --env-add= --env-pass-through= --is-library=True ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=False --script-version=3.11.0 diff --git a/libraries/object-persistor/.nvmrc b/libraries/object-persistor/.nvmrc new file mode 100644 index 0000000000..d8ff873d1a --- /dev/null +++ b/libraries/object-persistor/.nvmrc @@ -0,0 +1 @@ +12.22.7 diff --git a/libraries/object-persistor/buildscript.txt b/libraries/object-persistor/buildscript.txt index a63a165dcd..f49c1adc94 100644 --- a/libraries/object-persistor/buildscript.txt +++ b/libraries/object-persistor/buildscript.txt @@ -4,6 +4,6 @@ object-persistor --env-add= --env-pass-through= --is-library=True ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=False --script-version=3.11.0 diff --git a/libraries/redis-wrapper/.nvmrc b/libraries/redis-wrapper/.nvmrc new file mode 100644 index 0000000000..d8ff873d1a --- /dev/null +++ b/libraries/redis-wrapper/.nvmrc @@ -0,0 +1 @@ +12.22.7 diff --git a/libraries/redis-wrapper/buildscript.txt b/libraries/redis-wrapper/buildscript.txt index 00315bdfe7..f0d30ccc66 100644 --- a/libraries/redis-wrapper/buildscript.txt +++ b/libraries/redis-wrapper/buildscript.txt @@ -4,6 +4,6 @@ redis-wrapper --env-add= --env-pass-through= --is-library=True ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=False --script-version=3.11.0 diff --git a/libraries/settings/.gitignore b/libraries/settings/.gitignore index ef508a750e..5fa186a3d4 100644 --- a/libraries/settings/.gitignore +++ b/libraries/settings/.gitignore @@ -1,3 +1,6 @@ /.npmrc /Dockerfile /node_modules + +# managed by monorepo$ bin/update_build_scripts +.npmrc diff --git a/libraries/settings/.nvmrc b/libraries/settings/.nvmrc new file mode 100644 index 0000000000..d8ff873d1a --- /dev/null +++ b/libraries/settings/.nvmrc @@ -0,0 +1 @@ +12.22.7 diff --git a/libraries/settings/buildscript.txt b/libraries/settings/buildscript.txt index c0b5f97ba2..ae3af2e2c1 100644 --- a/libraries/settings/buildscript.txt +++ b/libraries/settings/buildscript.txt @@ -4,6 +4,6 @@ settings --env-add= --env-pass-through= --is-library=True ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=False --script-version=3.11.0 diff --git a/server-ce/.nvmrc b/server-ce/.nvmrc index 5a80a7e912..d8ff873d1a 100644 --- a/server-ce/.nvmrc +++ b/server-ce/.nvmrc @@ -1 +1 @@ -12.22.3 +12.22.7 diff --git a/services/chat/.nvmrc b/services/chat/.nvmrc index 5a80a7e912..d8ff873d1a 100644 --- a/services/chat/.nvmrc +++ b/services/chat/.nvmrc @@ -1 +1 @@ -12.22.3 +12.22.7 diff --git a/services/chat/Dockerfile b/services/chat/Dockerfile index 6b286376dc..20825d530c 100644 --- a/services/chat/Dockerfile +++ b/services/chat/Dockerfile @@ -2,7 +2,7 @@ # Instead run bin/update_build_scripts from # https://github.com/sharelatex/sharelatex-dev-environment -FROM node:12.22.3 as base +FROM node:12.22.7 as base WORKDIR /app diff --git a/services/chat/buildscript.txt b/services/chat/buildscript.txt index 7a434e1983..fedebd8bdc 100644 --- a/services/chat/buildscript.txt +++ b/services/chat/buildscript.txt @@ -3,6 +3,6 @@ chat --docker-repos=gcr.io/overleaf-ops --env-add= --env-pass-through= ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=False --script-version=3.11.0 diff --git a/services/chat/docker-compose.ci.yml b/services/chat/docker-compose.ci.yml index 73114a581f..38ed789d16 100644 --- a/services/chat/docker-compose.ci.yml +++ b/services/chat/docker-compose.ci.yml @@ -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,8 +11,7 @@ services: command: npm run test:unit:_run environment: NODE_ENV: test - NODE_OPTIONS: "--unhandled-rejections=strict" - + NODE_OPTIONS: '--unhandled-rejections=strict' test_acceptance: build: . @@ -25,14 +24,13 @@ 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 diff --git a/services/chat/docker-compose.yml b/services/chat/docker-compose.yml index 02c6e5dfca..140045ade2 100644 --- a/services/chat/docker-compose.yml +++ b/services/chat/docker-compose.yml @@ -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 - diff --git a/services/clsi/.nvmrc b/services/clsi/.nvmrc index 5a80a7e912..d8ff873d1a 100644 --- a/services/clsi/.nvmrc +++ b/services/clsi/.nvmrc @@ -1 +1 @@ -12.22.3 +12.22.7 diff --git a/services/clsi/Dockerfile b/services/clsi/Dockerfile index 28e81ec4b8..ffac2d7f7e 100644 --- a/services/clsi/Dockerfile +++ b/services/clsi/Dockerfile @@ -2,7 +2,7 @@ # Instead run bin/update_build_scripts from # https://github.com/sharelatex/sharelatex-dev-environment -FROM node:12.22.3 as base +FROM node:12.22.7 as base WORKDIR /app COPY install_deps.sh /app diff --git a/services/clsi/buildscript.txt b/services/clsi/buildscript.txt index ebadef0e4a..d7dc72f046 100644 --- a/services/clsi/buildscript.txt +++ b/services/clsi/buildscript.txt @@ -5,6 +5,6 @@ clsi --env-add=ENABLE_PDF_CACHING="true",PDF_CACHING_ENABLE_WORKER_POOL="true" --env-pass-through=TEXLIVE_IMAGE --has-custom-cloudbuild=True ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=True --script-version=3.11.0 diff --git a/services/contacts/.nvmrc b/services/contacts/.nvmrc index 5a80a7e912..d8ff873d1a 100644 --- a/services/contacts/.nvmrc +++ b/services/contacts/.nvmrc @@ -1 +1 @@ -12.22.3 +12.22.7 diff --git a/services/contacts/Dockerfile b/services/contacts/Dockerfile index 6b286376dc..20825d530c 100644 --- a/services/contacts/Dockerfile +++ b/services/contacts/Dockerfile @@ -2,7 +2,7 @@ # Instead run bin/update_build_scripts from # https://github.com/sharelatex/sharelatex-dev-environment -FROM node:12.22.3 as base +FROM node:12.22.7 as base WORKDIR /app diff --git a/services/contacts/buildscript.txt b/services/contacts/buildscript.txt index 690e1e4e6b..bf5eec0f38 100644 --- a/services/contacts/buildscript.txt +++ b/services/contacts/buildscript.txt @@ -3,6 +3,6 @@ contacts --docker-repos=gcr.io/overleaf-ops --env-add= --env-pass-through= ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=False --script-version=3.11.0 diff --git a/services/contacts/docker-compose.ci.yml b/services/contacts/docker-compose.ci.yml index 73114a581f..38ed789d16 100644 --- a/services/contacts/docker-compose.ci.yml +++ b/services/contacts/docker-compose.ci.yml @@ -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,8 +11,7 @@ services: command: npm run test:unit:_run environment: NODE_ENV: test - NODE_OPTIONS: "--unhandled-rejections=strict" - + NODE_OPTIONS: '--unhandled-rejections=strict' test_acceptance: build: . @@ -25,14 +24,13 @@ 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 diff --git a/services/contacts/docker-compose.yml b/services/contacts/docker-compose.yml index 02c6e5dfca..140045ade2 100644 --- a/services/contacts/docker-compose.yml +++ b/services/contacts/docker-compose.yml @@ -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 - diff --git a/services/docstore/.nvmrc b/services/docstore/.nvmrc index 5a80a7e912..d8ff873d1a 100644 --- a/services/docstore/.nvmrc +++ b/services/docstore/.nvmrc @@ -1 +1 @@ -12.22.3 +12.22.7 diff --git a/services/docstore/Dockerfile b/services/docstore/Dockerfile index 6b286376dc..20825d530c 100644 --- a/services/docstore/Dockerfile +++ b/services/docstore/Dockerfile @@ -2,7 +2,7 @@ # Instead run bin/update_build_scripts from # https://github.com/sharelatex/sharelatex-dev-environment -FROM node:12.22.3 as base +FROM node:12.22.7 as base WORKDIR /app diff --git a/services/docstore/buildscript.txt b/services/docstore/buildscript.txt index 994a0eae7d..b6cf03de37 100644 --- a/services/docstore/buildscript.txt +++ b/services/docstore/buildscript.txt @@ -3,6 +3,6 @@ docstore --docker-repos=gcr.io/overleaf-ops --env-add= --env-pass-through= ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=True --script-version=3.11.0 diff --git a/services/docstore/docker-compose.ci.yml b/services/docstore/docker-compose.ci.yml index f0733448cc..500c3b090b 100644 --- a/services/docstore/docker-compose.ci.yml +++ b/services/docstore/docker-compose.ci.yml @@ -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,8 +11,7 @@ services: command: npm run test:unit:_run environment: NODE_ENV: test - NODE_OPTIONS: "--unhandled-rejections=strict" - + NODE_OPTIONS: '--unhandled-rejections=strict' test_acceptance: build: . @@ -32,7 +31,7 @@ services: STORAGE_EMULATOR_HOST: http://gcs:9090/storage/v1 MOCHA_GREP: ${MOCHA_GREP} NODE_ENV: test - NODE_OPTIONS: "--unhandled-rejections=strict" + NODE_OPTIONS: '--unhandled-rejections=strict' depends_on: mongo: condition: service_healthy @@ -41,7 +40,6 @@ services: user: node command: npm run test:acceptance:_run - tar: build: . image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER @@ -57,7 +55,7 @@ services: retries: 20 gcs: image: fsouza/fake-gcs-server:v1.21.2 - command: ["--port=9090", "--scheme=http"] + command: ['--port=9090', '--scheme=http'] healthcheck: test: wget --quiet --output-document=/dev/null http://localhost:9090/storage/v1/b interval: 1s diff --git a/services/docstore/docker-compose.yml b/services/docstore/docker-compose.yml index 76694d377e..bfc04eff07 100644 --- a/services/docstore/docker-compose.yml +++ b/services/docstore/docker-compose.yml @@ -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 @@ -38,7 +38,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: @@ -56,7 +56,7 @@ services: gcs: image: fsouza/fake-gcs-server:v1.21.2 - command: ["--port=9090", "--scheme=http"] + command: ['--port=9090', '--scheme=http'] healthcheck: test: wget --quiet --output-document=/dev/null http://localhost:9090/storage/v1/b interval: 1s diff --git a/services/document-updater/.nvmrc b/services/document-updater/.nvmrc index 5a80a7e912..d8ff873d1a 100644 --- a/services/document-updater/.nvmrc +++ b/services/document-updater/.nvmrc @@ -1 +1 @@ -12.22.3 +12.22.7 diff --git a/services/document-updater/Dockerfile b/services/document-updater/Dockerfile index 6b286376dc..20825d530c 100644 --- a/services/document-updater/Dockerfile +++ b/services/document-updater/Dockerfile @@ -2,7 +2,7 @@ # Instead run bin/update_build_scripts from # https://github.com/sharelatex/sharelatex-dev-environment -FROM node:12.22.3 as base +FROM node:12.22.7 as base WORKDIR /app diff --git a/services/document-updater/buildscript.txt b/services/document-updater/buildscript.txt index 339a3c847f..dcdb3fc041 100644 --- a/services/document-updater/buildscript.txt +++ b/services/document-updater/buildscript.txt @@ -3,6 +3,6 @@ document-updater --docker-repos=gcr.io/overleaf-ops --env-add= --env-pass-through= ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=True --script-version=3.11.0 diff --git a/services/document-updater/docker-compose.yml b/services/document-updater/docker-compose.yml index f6abd89912..03793b7bf9 100644 --- a/services/document-updater/docker-compose.yml +++ b/services/document-updater/docker-compose.yml @@ -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: @@ -53,4 +53,3 @@ services: test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'" interval: 1s retries: 20 - diff --git a/services/filestore/.nvmrc b/services/filestore/.nvmrc index 5a80a7e912..d8ff873d1a 100644 --- a/services/filestore/.nvmrc +++ b/services/filestore/.nvmrc @@ -1 +1 @@ -12.22.3 +12.22.7 diff --git a/services/filestore/Dockerfile b/services/filestore/Dockerfile index 46a5510544..692e815d4b 100644 --- a/services/filestore/Dockerfile +++ b/services/filestore/Dockerfile @@ -2,7 +2,7 @@ # Instead run bin/update_build_scripts from # https://github.com/sharelatex/sharelatex-dev-environment -FROM node:12.22.3 as base +FROM node:12.22.7 as base WORKDIR /app COPY install_deps.sh /app diff --git a/services/filestore/buildscript.txt b/services/filestore/buildscript.txt index 27d5d3f189..06a9ab33ae 100644 --- a/services/filestore/buildscript.txt +++ b/services/filestore/buildscript.txt @@ -4,6 +4,6 @@ filestore --docker-repos=gcr.io/overleaf-ops --env-add=ENABLE_CONVERSIONS="true",USE_PROM_METRICS="true",AWS_S3_USER_FILES_BUCKET_NAME=fake_user_files,AWS_S3_TEMPLATE_FILES_BUCKET_NAME=fake_template_files,AWS_S3_PUBLIC_FILES_BUCKET_NAME=fake_public_files,GCS_USER_FILES_BUCKET_NAME=fake_userfiles,GCS_TEMPLATE_FILES_BUCKET_NAME=fake_templatefiles,GCS_PUBLIC_FILES_BUCKET_NAME=fake_publicfiles --env-pass-through= ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=True --script-version=3.11.0 diff --git a/services/notifications/.nvmrc b/services/notifications/.nvmrc index 5a80a7e912..d8ff873d1a 100644 --- a/services/notifications/.nvmrc +++ b/services/notifications/.nvmrc @@ -1 +1 @@ -12.22.3 +12.22.7 diff --git a/services/notifications/Dockerfile b/services/notifications/Dockerfile index 6b286376dc..20825d530c 100644 --- a/services/notifications/Dockerfile +++ b/services/notifications/Dockerfile @@ -2,7 +2,7 @@ # Instead run bin/update_build_scripts from # https://github.com/sharelatex/sharelatex-dev-environment -FROM node:12.22.3 as base +FROM node:12.22.7 as base WORKDIR /app diff --git a/services/notifications/buildscript.txt b/services/notifications/buildscript.txt index 55facd2f70..a0c8e00ad1 100644 --- a/services/notifications/buildscript.txt +++ b/services/notifications/buildscript.txt @@ -3,6 +3,6 @@ notifications --docker-repos=gcr.io/overleaf-ops --env-add= --env-pass-through= ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=True --script-version=3.11.0 diff --git a/services/notifications/docker-compose.ci.yml b/services/notifications/docker-compose.ci.yml index 73114a581f..38ed789d16 100644 --- a/services/notifications/docker-compose.ci.yml +++ b/services/notifications/docker-compose.ci.yml @@ -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,8 +11,7 @@ services: command: npm run test:unit:_run environment: NODE_ENV: test - NODE_OPTIONS: "--unhandled-rejections=strict" - + NODE_OPTIONS: '--unhandled-rejections=strict' test_acceptance: build: . @@ -25,14 +24,13 @@ 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 diff --git a/services/notifications/docker-compose.yml b/services/notifications/docker-compose.yml index 02c6e5dfca..140045ade2 100644 --- a/services/notifications/docker-compose.yml +++ b/services/notifications/docker-compose.yml @@ -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 - diff --git a/services/track-changes/.nvmrc b/services/track-changes/.nvmrc index 5a80a7e912..d8ff873d1a 100644 --- a/services/track-changes/.nvmrc +++ b/services/track-changes/.nvmrc @@ -1 +1 @@ -12.22.3 +12.22.7 diff --git a/services/track-changes/Dockerfile b/services/track-changes/Dockerfile index 6b286376dc..20825d530c 100644 --- a/services/track-changes/Dockerfile +++ b/services/track-changes/Dockerfile @@ -2,7 +2,7 @@ # Instead run bin/update_build_scripts from # https://github.com/sharelatex/sharelatex-dev-environment -FROM node:12.22.3 as base +FROM node:12.22.7 as base WORKDIR /app diff --git a/services/track-changes/buildscript.txt b/services/track-changes/buildscript.txt index 36ed3a783a..41a73c5b78 100644 --- a/services/track-changes/buildscript.txt +++ b/services/track-changes/buildscript.txt @@ -3,6 +3,6 @@ track-changes --docker-repos=gcr.io/overleaf-ops --env-add=AWS_BUCKET=bucket --env-pass-through= ---node-version=12.22.3 +--node-version=12.22.7 --public-repo=True --script-version=3.11.0 diff --git a/services/track-changes/docker-compose.yml b/services/track-changes/docker-compose.yml index 3b0957ea52..3b4591cf19 100644 --- a/services/track-changes/docker-compose.yml +++ b/services/track-changes/docker-compose.yml @@ -6,7 +6,7 @@ version: "2.3" services: test_unit: - image: node:12.22.3 + image: node:12.22.7 volumes: - .:/app working_dir: /app @@ -18,7 +18,7 @@ services: user: node test_acceptance: - image: node:12.22.3 + image: node:12.22.7 volumes: - .:/app working_dir: /app