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

@ -0,0 +1 @@
12.22.7

View file

@ -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

1
libraries/logger/.nvmrc Normal file
View file

@ -0,0 +1 @@
12.22.7

View file

@ -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

1
libraries/metrics/.nvmrc Normal file
View file

@ -0,0 +1 @@
12.22.7

View file

@ -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

1
libraries/o-error/.nvmrc Normal file
View file

@ -0,0 +1 @@
12.22.7

View file

@ -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

View file

@ -0,0 +1 @@
12.22.7

View file

@ -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

View file

@ -0,0 +1 @@
12.22.7

View file

@ -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

View file

@ -1,3 +1,6 @@
/.npmrc
/Dockerfile
/node_modules
# managed by monorepo$ bin/update_build_scripts
.npmrc

View file

@ -0,0 +1 @@
12.22.7

View file

@ -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

View file

@ -1 +1 @@
12.22.3
12.22.7

View file

@ -1 +1 @@
12.22.3
12.22.7

View file

@ -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

View file

@ -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

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,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

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

View file

@ -1 +1 @@
12.22.3
12.22.7

View file

@ -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

View file

@ -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

View file

@ -1 +1 @@
12.22.3
12.22.7

View file

@ -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

View file

@ -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

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,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

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

View file

@ -1 +1 @@
12.22.3
12.22.7

View file

@ -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

View file

@ -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

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,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

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
@ -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

View file

@ -1 +1 @@
12.22.3
12.22.7

View file

@ -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

View file

@ -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

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:
@ -53,4 +53,3 @@ services:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"
interval: 1s
retries: 20

View file

@ -1 +1 @@
12.22.3
12.22.7

View file

@ -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

View file

@ -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

View file

@ -1 +1 @@
12.22.3
12.22.7

View file

@ -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

View file

@ -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

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,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

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

View file

@ -1 +1 @@
12.22.3
12.22.7

View file

@ -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

View file

@ -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

View file

@ -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