mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #8871 from overleaf/briangough-issue8868
Upgrade node to v16.16.0 GitOrigin-RevId: 6bc6d63aa4af1940649f1eb5966f182250ecac22
This commit is contained in:
parent
8043485572
commit
e7531eb047
66 changed files with 84 additions and 84 deletions
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -4,6 +4,6 @@ access-token-encryptor
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--is-library=True
|
--is-library=True
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=False
|
--public-repo=False
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -4,6 +4,6 @@ logger
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--is-library=True
|
--is-library=True
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=False
|
--public-repo=False
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -4,6 +4,6 @@ metrics
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--is-library=True
|
--is-library=True
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=False
|
--public-repo=False
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -4,6 +4,6 @@ o-error
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--is-library=True
|
--is-library=True
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=False
|
--public-repo=False
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -4,6 +4,6 @@ object-persistor
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--is-library=True
|
--is-library=True
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=False
|
--public-repo=False
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -4,6 +4,6 @@ redis-wrapper
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--is-library=True
|
--is-library=True
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=False
|
--public-repo=False
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -4,6 +4,6 @@ settings
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--is-library=True
|
--is-library=True
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=False
|
--public-repo=False
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Instead run bin/update_build_scripts from
|
# Instead run bin/update_build_scripts from
|
||||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||||
|
|
||||||
FROM node:16.14.2 as base
|
FROM node:16.16.0 as base
|
||||||
|
|
||||||
WORKDIR /overleaf/services/chat
|
WORKDIR /overleaf/services/chat
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ HERE=$(shell pwd)
|
||||||
MONOREPO=$(shell cd ../../ && pwd)
|
MONOREPO=$(shell cd ../../ && pwd)
|
||||||
# Run the linting commands in the scope of the monorepo.
|
# Run the linting commands in the scope of the monorepo.
|
||||||
# Eslint and prettier (plus some configs) are on the root.
|
# Eslint and prettier (plus some configs) are on the root.
|
||||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.14.2 npm run --silent
|
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
|
||||||
|
|
||||||
format:
|
format:
|
||||||
$(RUN_LINTING) format
|
$(RUN_LINTING) format
|
||||||
|
|
|
@ -3,6 +3,6 @@ chat
|
||||||
--docker-repos=gcr.io/overleaf-ops
|
--docker-repos=gcr.io/overleaf-ops
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=False
|
--public-repo=False
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -6,7 +6,7 @@ version: "2.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
test_unit:
|
test_unit:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/chat
|
- .:/overleaf/services/chat
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
@ -20,7 +20,7 @@ services:
|
||||||
user: node
|
user: node
|
||||||
|
|
||||||
test_acceptance:
|
test_acceptance:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/chat
|
- .:/overleaf/services/chat
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Instead run bin/update_build_scripts from
|
# Instead run bin/update_build_scripts from
|
||||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||||
|
|
||||||
FROM node:16.14.2 as base
|
FROM node:16.16.0 as base
|
||||||
|
|
||||||
WORKDIR /overleaf/services/clsi
|
WORKDIR /overleaf/services/clsi
|
||||||
COPY services/clsi/install_deps.sh /overleaf/services/clsi/
|
COPY services/clsi/install_deps.sh /overleaf/services/clsi/
|
||||||
|
@ -26,6 +26,6 @@ COPY services/clsi/ /overleaf/services/clsi/
|
||||||
|
|
||||||
FROM app
|
FROM app
|
||||||
RUN mkdir -p cache compiles output \
|
RUN mkdir -p cache compiles output \
|
||||||
&& chown node:node cache compiles output
|
&& chown node:node cache compiles output
|
||||||
|
|
||||||
CMD ["node", "--expose-gc", "app.js"]
|
CMD ["node", "--expose-gc", "app.js"]
|
||||||
|
|
|
@ -30,7 +30,7 @@ HERE=$(shell pwd)
|
||||||
MONOREPO=$(shell cd ../../ && pwd)
|
MONOREPO=$(shell cd ../../ && pwd)
|
||||||
# Run the linting commands in the scope of the monorepo.
|
# Run the linting commands in the scope of the monorepo.
|
||||||
# Eslint and prettier (plus some configs) are on the root.
|
# Eslint and prettier (plus some configs) are on the root.
|
||||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.14.2 npm run --silent
|
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
|
||||||
|
|
||||||
format:
|
format:
|
||||||
$(RUN_LINTING) format
|
$(RUN_LINTING) format
|
||||||
|
|
|
@ -5,6 +5,6 @@ clsi
|
||||||
--env-add=ENABLE_PDF_CACHING="true",PDF_CACHING_ENABLE_WORKER_POOL="true"
|
--env-add=ENABLE_PDF_CACHING="true",PDF_CACHING_ENABLE_WORKER_POOL="true"
|
||||||
--env-pass-through=TEXLIVE_IMAGE
|
--env-pass-through=TEXLIVE_IMAGE
|
||||||
--has-custom-cloudbuild=True
|
--has-custom-cloudbuild=True
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=True
|
--public-repo=True
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Instead run bin/update_build_scripts from
|
# Instead run bin/update_build_scripts from
|
||||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||||
|
|
||||||
FROM node:16.14.2 as base
|
FROM node:16.16.0 as base
|
||||||
|
|
||||||
WORKDIR /overleaf/services/contacts
|
WORKDIR /overleaf/services/contacts
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ HERE=$(shell pwd)
|
||||||
MONOREPO=$(shell cd ../../ && pwd)
|
MONOREPO=$(shell cd ../../ && pwd)
|
||||||
# Run the linting commands in the scope of the monorepo.
|
# Run the linting commands in the scope of the monorepo.
|
||||||
# Eslint and prettier (plus some configs) are on the root.
|
# Eslint and prettier (plus some configs) are on the root.
|
||||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.14.2 npm run --silent
|
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
|
||||||
|
|
||||||
format:
|
format:
|
||||||
$(RUN_LINTING) format
|
$(RUN_LINTING) format
|
||||||
|
|
|
@ -3,6 +3,6 @@ contacts
|
||||||
--docker-repos=gcr.io/overleaf-ops
|
--docker-repos=gcr.io/overleaf-ops
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=False
|
--public-repo=False
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -6,7 +6,7 @@ version: "2.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
test_unit:
|
test_unit:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/contacts
|
- .:/overleaf/services/contacts
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
@ -20,7 +20,7 @@ services:
|
||||||
user: node
|
user: node
|
||||||
|
|
||||||
test_acceptance:
|
test_acceptance:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/contacts
|
- .:/overleaf/services/contacts
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Instead run bin/update_build_scripts from
|
# Instead run bin/update_build_scripts from
|
||||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||||
|
|
||||||
FROM node:16.14.2 as base
|
FROM node:16.16.0 as base
|
||||||
|
|
||||||
WORKDIR /overleaf/services/docstore
|
WORKDIR /overleaf/services/docstore
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ HERE=$(shell pwd)
|
||||||
MONOREPO=$(shell cd ../../ && pwd)
|
MONOREPO=$(shell cd ../../ && pwd)
|
||||||
# Run the linting commands in the scope of the monorepo.
|
# Run the linting commands in the scope of the monorepo.
|
||||||
# Eslint and prettier (plus some configs) are on the root.
|
# Eslint and prettier (plus some configs) are on the root.
|
||||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.14.2 npm run --silent
|
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
|
||||||
|
|
||||||
format:
|
format:
|
||||||
$(RUN_LINTING) format
|
$(RUN_LINTING) format
|
||||||
|
|
|
@ -3,6 +3,6 @@ docstore
|
||||||
--docker-repos=gcr.io/overleaf-ops
|
--docker-repos=gcr.io/overleaf-ops
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=True
|
--public-repo=True
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -6,7 +6,7 @@ version: "2.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
test_unit:
|
test_unit:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/docstore
|
- .:/overleaf/services/docstore
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
@ -20,7 +20,7 @@ services:
|
||||||
user: node
|
user: node
|
||||||
|
|
||||||
test_acceptance:
|
test_acceptance:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/docstore
|
- .:/overleaf/services/docstore
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Instead run bin/update_build_scripts from
|
# Instead run bin/update_build_scripts from
|
||||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||||
|
|
||||||
FROM node:16.14.2 as base
|
FROM node:16.16.0 as base
|
||||||
|
|
||||||
WORKDIR /overleaf/services/document-updater
|
WORKDIR /overleaf/services/document-updater
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ HERE=$(shell pwd)
|
||||||
MONOREPO=$(shell cd ../../ && pwd)
|
MONOREPO=$(shell cd ../../ && pwd)
|
||||||
# Run the linting commands in the scope of the monorepo.
|
# Run the linting commands in the scope of the monorepo.
|
||||||
# Eslint and prettier (plus some configs) are on the root.
|
# Eslint and prettier (plus some configs) are on the root.
|
||||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.14.2 npm run --silent
|
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
|
||||||
|
|
||||||
format:
|
format:
|
||||||
$(RUN_LINTING) format
|
$(RUN_LINTING) format
|
||||||
|
|
|
@ -3,6 +3,6 @@ document-updater
|
||||||
--docker-repos=gcr.io/overleaf-ops
|
--docker-repos=gcr.io/overleaf-ops
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=True
|
--public-repo=True
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -6,7 +6,7 @@ version: "2.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
test_unit:
|
test_unit:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/document-updater
|
- .:/overleaf/services/document-updater
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
@ -20,7 +20,7 @@ services:
|
||||||
user: node
|
user: node
|
||||||
|
|
||||||
test_acceptance:
|
test_acceptance:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/document-updater
|
- .:/overleaf/services/document-updater
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Instead run bin/update_build_scripts from
|
# Instead run bin/update_build_scripts from
|
||||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||||
|
|
||||||
FROM node:16.14.2 as base
|
FROM node:16.16.0 as base
|
||||||
|
|
||||||
WORKDIR /overleaf/services/filestore
|
WORKDIR /overleaf/services/filestore
|
||||||
COPY services/filestore/install_deps.sh /overleaf/services/filestore/
|
COPY services/filestore/install_deps.sh /overleaf/services/filestore/
|
||||||
|
@ -24,7 +24,7 @@ COPY services/filestore/ /overleaf/services/filestore/
|
||||||
|
|
||||||
FROM app
|
FROM app
|
||||||
RUN mkdir -p uploads user_files template_files \
|
RUN mkdir -p uploads user_files template_files \
|
||||||
&& chown node:node uploads user_files template_files
|
&& chown node:node uploads user_files template_files
|
||||||
USER node
|
USER node
|
||||||
|
|
||||||
CMD ["node", "--expose-gc", "app.js"]
|
CMD ["node", "--expose-gc", "app.js"]
|
||||||
|
|
|
@ -30,7 +30,7 @@ HERE=$(shell pwd)
|
||||||
MONOREPO=$(shell cd ../../ && pwd)
|
MONOREPO=$(shell cd ../../ && pwd)
|
||||||
# Run the linting commands in the scope of the monorepo.
|
# Run the linting commands in the scope of the monorepo.
|
||||||
# Eslint and prettier (plus some configs) are on the root.
|
# Eslint and prettier (plus some configs) are on the root.
|
||||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.14.2 npm run --silent
|
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
|
||||||
|
|
||||||
format:
|
format:
|
||||||
$(RUN_LINTING) format
|
$(RUN_LINTING) format
|
||||||
|
|
|
@ -4,6 +4,6 @@ filestore
|
||||||
--docker-repos=gcr.io/overleaf-ops
|
--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-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=
|
--env-pass-through=
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=True
|
--public-repo=True
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Instead run bin/update_build_scripts from
|
# Instead run bin/update_build_scripts from
|
||||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||||
|
|
||||||
FROM node:16.14.2 as base
|
FROM node:16.16.0 as base
|
||||||
|
|
||||||
WORKDIR /overleaf/services/notifications
|
WORKDIR /overleaf/services/notifications
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ HERE=$(shell pwd)
|
||||||
MONOREPO=$(shell cd ../../ && pwd)
|
MONOREPO=$(shell cd ../../ && pwd)
|
||||||
# Run the linting commands in the scope of the monorepo.
|
# Run the linting commands in the scope of the monorepo.
|
||||||
# Eslint and prettier (plus some configs) are on the root.
|
# Eslint and prettier (plus some configs) are on the root.
|
||||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.14.2 npm run --silent
|
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
|
||||||
|
|
||||||
format:
|
format:
|
||||||
$(RUN_LINTING) format
|
$(RUN_LINTING) format
|
||||||
|
|
|
@ -3,6 +3,6 @@ notifications
|
||||||
--docker-repos=gcr.io/overleaf-ops
|
--docker-repos=gcr.io/overleaf-ops
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=True
|
--public-repo=True
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -6,7 +6,7 @@ version: "2.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
test_unit:
|
test_unit:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/notifications
|
- .:/overleaf/services/notifications
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
@ -20,7 +20,7 @@ services:
|
||||||
user: node
|
user: node
|
||||||
|
|
||||||
test_acceptance:
|
test_acceptance:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/notifications
|
- .:/overleaf/services/notifications
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Instead run bin/update_build_scripts from
|
# Instead run bin/update_build_scripts from
|
||||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||||
|
|
||||||
FROM node:16.14.2 as base
|
FROM node:16.16.0 as base
|
||||||
|
|
||||||
WORKDIR /overleaf/services/real-time
|
WORKDIR /overleaf/services/real-time
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ HERE=$(shell pwd)
|
||||||
MONOREPO=$(shell cd ../../ && pwd)
|
MONOREPO=$(shell cd ../../ && pwd)
|
||||||
# Run the linting commands in the scope of the monorepo.
|
# Run the linting commands in the scope of the monorepo.
|
||||||
# Eslint and prettier (plus some configs) are on the root.
|
# Eslint and prettier (plus some configs) are on the root.
|
||||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.14.2 npm run --silent
|
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
|
||||||
|
|
||||||
format:
|
format:
|
||||||
$(RUN_LINTING) format
|
$(RUN_LINTING) format
|
||||||
|
|
|
@ -3,6 +3,6 @@ real-time
|
||||||
--docker-repos=gcr.io/overleaf-ops
|
--docker-repos=gcr.io/overleaf-ops
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=True
|
--public-repo=True
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -6,7 +6,7 @@ version: "2.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
test_unit:
|
test_unit:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/real-time
|
- .:/overleaf/services/real-time
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
@ -20,7 +20,7 @@ services:
|
||||||
user: node
|
user: node
|
||||||
|
|
||||||
test_acceptance:
|
test_acceptance:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/real-time
|
- .:/overleaf/services/real-time
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Instead run bin/update_build_scripts from
|
# Instead run bin/update_build_scripts from
|
||||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||||
|
|
||||||
FROM node:16.14.2 as base
|
FROM node:16.16.0 as base
|
||||||
|
|
||||||
WORKDIR /overleaf/services/spelling
|
WORKDIR /overleaf/services/spelling
|
||||||
COPY services/spelling/install_deps.sh /overleaf/services/spelling/
|
COPY services/spelling/install_deps.sh /overleaf/services/spelling/
|
||||||
|
@ -24,7 +24,7 @@ COPY services/spelling/ /overleaf/services/spelling/
|
||||||
|
|
||||||
FROM app
|
FROM app
|
||||||
RUN mkdir -p cache \
|
RUN mkdir -p cache \
|
||||||
&& chown node:node cache
|
&& chown node:node cache
|
||||||
USER node
|
USER node
|
||||||
|
|
||||||
CMD ["node", "--expose-gc", "app.js"]
|
CMD ["node", "--expose-gc", "app.js"]
|
||||||
|
|
|
@ -30,7 +30,7 @@ HERE=$(shell pwd)
|
||||||
MONOREPO=$(shell cd ../../ && pwd)
|
MONOREPO=$(shell cd ../../ && pwd)
|
||||||
# Run the linting commands in the scope of the monorepo.
|
# Run the linting commands in the scope of the monorepo.
|
||||||
# Eslint and prettier (plus some configs) are on the root.
|
# Eslint and prettier (plus some configs) are on the root.
|
||||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.14.2 npm run --silent
|
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
|
||||||
|
|
||||||
format:
|
format:
|
||||||
$(RUN_LINTING) format
|
$(RUN_LINTING) format
|
||||||
|
|
|
@ -4,6 +4,6 @@ spelling
|
||||||
--docker-repos=gcr.io/overleaf-ops
|
--docker-repos=gcr.io/overleaf-ops
|
||||||
--env-add=
|
--env-add=
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=False
|
--public-repo=False
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Instead run bin/update_build_scripts from
|
# Instead run bin/update_build_scripts from
|
||||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||||
|
|
||||||
FROM node:16.14.2 as base
|
FROM node:16.16.0 as base
|
||||||
|
|
||||||
WORKDIR /overleaf/services/track-changes
|
WORKDIR /overleaf/services/track-changes
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ HERE=$(shell pwd)
|
||||||
MONOREPO=$(shell cd ../../ && pwd)
|
MONOREPO=$(shell cd ../../ && pwd)
|
||||||
# Run the linting commands in the scope of the monorepo.
|
# Run the linting commands in the scope of the monorepo.
|
||||||
# Eslint and prettier (plus some configs) are on the root.
|
# Eslint and prettier (plus some configs) are on the root.
|
||||||
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.14.2 npm run --silent
|
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
|
||||||
|
|
||||||
format:
|
format:
|
||||||
$(RUN_LINTING) format
|
$(RUN_LINTING) format
|
||||||
|
|
|
@ -3,6 +3,6 @@ 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=
|
||||||
--node-version=16.14.2
|
--node-version=16.16.0
|
||||||
--public-repo=True
|
--public-repo=True
|
||||||
--script-version=4.1.0
|
--script-version=4.1.0
|
||||||
|
|
|
@ -6,7 +6,7 @@ version: "2.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
test_unit:
|
test_unit:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/track-changes
|
- .:/overleaf/services/track-changes
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
@ -20,7 +20,7 @@ services:
|
||||||
user: node
|
user: node
|
||||||
|
|
||||||
test_acceptance:
|
test_acceptance:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/track-changes
|
- .:/overleaf/services/track-changes
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
16.14.2
|
16.16.0
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# the base image is suitable for running web with /overleaf/services/web bind
|
# the base image is suitable for running web with /overleaf/services/web bind
|
||||||
# mounted
|
# mounted
|
||||||
FROM node:16.14.2 as base
|
FROM node:16.16.0 as base
|
||||||
|
|
||||||
WORKDIR /overleaf/services/web
|
WORKDIR /overleaf/services/web
|
||||||
|
|
||||||
|
@ -33,13 +33,13 @@ COPY services/web /overleaf/services/web
|
||||||
RUN cd /overleaf/services/web && npm run 'lezer-latex:generate'
|
RUN cd /overleaf/services/web && npm run 'lezer-latex:generate'
|
||||||
|
|
||||||
RUN mkdir -p /overleaf/services/web/data/dumpFolder \
|
RUN mkdir -p /overleaf/services/web/data/dumpFolder \
|
||||||
&& mkdir -p /overleaf/services/web/data/logs \
|
&& mkdir -p /overleaf/services/web/data/logs \
|
||||||
&& mkdir -p /overleaf/services/web/data/pdf \
|
&& mkdir -p /overleaf/services/web/data/pdf \
|
||||||
&& mkdir -p /overleaf/services/web/data/uploads \
|
&& mkdir -p /overleaf/services/web/data/uploads \
|
||||||
&& mkdir -p /overleaf/services/web/data/zippedProjects \
|
&& mkdir -p /overleaf/services/web/data/zippedProjects \
|
||||||
&& mkdir -p /overleaf/services/web/data/projectHistories \
|
&& mkdir -p /overleaf/services/web/data/projectHistories \
|
||||||
&& chmod -R 0755 /overleaf/services/web/data \
|
&& chmod -R 0755 /overleaf/services/web/data \
|
||||||
&& chown -R node:node /overleaf/services/web/data
|
&& chown -R node:node /overleaf/services/web/data
|
||||||
|
|
||||||
ARG SENTRY_RELEASE
|
ARG SENTRY_RELEASE
|
||||||
ENV SENTRY_RELEASE=$SENTRY_RELEASE
|
ENV SENTRY_RELEASE=$SENTRY_RELEASE
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:16.14.2
|
FROM node:16.16.0
|
||||||
|
|
||||||
# Install Google Chrome
|
# Install Google Chrome
|
||||||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
|
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
|
||||||
|
|
|
@ -6,7 +6,7 @@ volumes:
|
||||||
services:
|
services:
|
||||||
|
|
||||||
test_unit:
|
test_unit:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/web
|
- .:/overleaf/services/web
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
@ -21,7 +21,7 @@ services:
|
||||||
user: node
|
user: node
|
||||||
|
|
||||||
test_acceptance:
|
test_acceptance:
|
||||||
image: node:16.14.2
|
image: node:16.16.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/overleaf/services/web
|
- .:/overleaf/services/web
|
||||||
- ../../node_modules:/overleaf/node_modules
|
- ../../node_modules:/overleaf/node_modules
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:16.14.2
|
FROM node:16.16.0
|
||||||
|
|
||||||
WORKDIR /app/scripts/translations
|
WORKDIR /app/scripts/translations
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue