Преглед изворни кода

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

upgrade node to v12.22.7 (other services)

GitOrigin-RevId: 889cf9a77173119fec8f200eeef9ddeefca0720b
Brian Gough пре 4 година
родитељ
комит
43c381e4d5
50 измењених фајлова са 83 додато и 85 уклоњено
  1. 1 0
      libraries/access-token-encryptor/.nvmrc
  2. 1 1
      libraries/access-token-encryptor/buildscript.txt
  3. 1 0
      libraries/logger/.nvmrc
  4. 1 1
      libraries/logger/buildscript.txt
  5. 1 0
      libraries/metrics/.nvmrc
  6. 1 1
      libraries/metrics/buildscript.txt
  7. 1 0
      libraries/o-error/.nvmrc
  8. 1 1
      libraries/o-error/buildscript.txt
  9. 1 0
      libraries/object-persistor/.nvmrc
  10. 1 1
      libraries/object-persistor/buildscript.txt
  11. 1 0
      libraries/redis-wrapper/.nvmrc
  12. 1 1
      libraries/redis-wrapper/buildscript.txt
  13. 3 0
      libraries/settings/.gitignore
  14. 1 0
      libraries/settings/.nvmrc
  15. 1 1
      libraries/settings/buildscript.txt
  16. 1 1
      server-ce/.nvmrc
  17. 1 1
      services/chat/.nvmrc
  18. 1 1
      services/chat/Dockerfile
  19. 1 1
      services/chat/buildscript.txt
  20. 3 5
      services/chat/docker-compose.ci.yml
  21. 5 6
      services/chat/docker-compose.yml
  22. 1 1
      services/clsi/.nvmrc
  23. 1 1
      services/clsi/Dockerfile
  24. 1 1
      services/clsi/buildscript.txt
  25. 1 1
      services/contacts/.nvmrc
  26. 1 1
      services/contacts/Dockerfile
  27. 1 1
      services/contacts/buildscript.txt
  28. 3 5
      services/contacts/docker-compose.ci.yml
  29. 5 6
      services/contacts/docker-compose.yml
  30. 1 1
      services/docstore/.nvmrc
  31. 1 1
      services/docstore/Dockerfile
  32. 1 1
      services/docstore/buildscript.txt
  33. 4 6
      services/docstore/docker-compose.ci.yml
  34. 6 6
      services/docstore/docker-compose.yml
  35. 1 1
      services/document-updater/.nvmrc
  36. 1 1
      services/document-updater/Dockerfile
  37. 1 1
      services/document-updater/buildscript.txt
  38. 5 6
      services/document-updater/docker-compose.yml
  39. 1 1
      services/filestore/.nvmrc
  40. 1 1
      services/filestore/Dockerfile
  41. 1 1
      services/filestore/buildscript.txt
  42. 1 1
      services/notifications/.nvmrc
  43. 1 1
      services/notifications/Dockerfile
  44. 1 1
      services/notifications/buildscript.txt
  45. 3 5
      services/notifications/docker-compose.ci.yml
  46. 5 6
      services/notifications/docker-compose.yml
  47. 1 1
      services/track-changes/.nvmrc
  48. 1 1
      services/track-changes/Dockerfile
  49. 1 1
      services/track-changes/buildscript.txt
  50. 2 2
      services/track-changes/docker-compose.yml

+ 1 - 0
libraries/access-token-encryptor/.nvmrc

@@ -0,0 +1 @@
+12.22.7

+ 1 - 1
libraries/access-token-encryptor/buildscript.txt

@@ -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=12.22.3
+--node-version=12.22.7
 --public-repo=False
 --public-repo=False
 --script-version=3.11.0
 --script-version=3.11.0

+ 1 - 0
libraries/logger/.nvmrc

@@ -0,0 +1 @@
+12.22.7

+ 1 - 1
libraries/logger/buildscript.txt

@@ -4,6 +4,6 @@ logger
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --is-library=True
 --is-library=True
---node-version=12.22.3
+--node-version=12.22.7
 --public-repo=False
 --public-repo=False
 --script-version=3.11.0
 --script-version=3.11.0

+ 1 - 0
libraries/metrics/.nvmrc

@@ -0,0 +1 @@
+12.22.7

+ 1 - 1
libraries/metrics/buildscript.txt

@@ -4,6 +4,6 @@ metrics
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --is-library=True
 --is-library=True
---node-version=12.22.3
+--node-version=12.22.7
 --public-repo=False
 --public-repo=False
 --script-version=3.11.0
 --script-version=3.11.0

+ 1 - 0
libraries/o-error/.nvmrc

@@ -0,0 +1 @@
+12.22.7

+ 1 - 1
libraries/o-error/buildscript.txt

@@ -4,6 +4,6 @@ o-error
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --is-library=True
 --is-library=True
---node-version=12.22.3
+--node-version=12.22.7
 --public-repo=False
 --public-repo=False
 --script-version=3.11.0
 --script-version=3.11.0

+ 1 - 0
libraries/object-persistor/.nvmrc

@@ -0,0 +1 @@
+12.22.7

+ 1 - 1
libraries/object-persistor/buildscript.txt

@@ -4,6 +4,6 @@ object-persistor
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --is-library=True
 --is-library=True
---node-version=12.22.3
+--node-version=12.22.7
 --public-repo=False
 --public-repo=False
 --script-version=3.11.0
 --script-version=3.11.0

+ 1 - 0
libraries/redis-wrapper/.nvmrc

@@ -0,0 +1 @@
+12.22.7

+ 1 - 1
libraries/redis-wrapper/buildscript.txt

@@ -4,6 +4,6 @@ redis-wrapper
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --is-library=True
 --is-library=True
---node-version=12.22.3
+--node-version=12.22.7
 --public-repo=False
 --public-repo=False
 --script-version=3.11.0
 --script-version=3.11.0

+ 3 - 0
libraries/settings/.gitignore

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

+ 1 - 0
libraries/settings/.nvmrc

@@ -0,0 +1 @@
+12.22.7

+ 1 - 1
libraries/settings/buildscript.txt

@@ -4,6 +4,6 @@ settings
 --env-add=
 --env-add=
 --env-pass-through=
 --env-pass-through=
 --is-library=True
 --is-library=True
---node-version=12.22.3
+--node-version=12.22.7
 --public-repo=False
 --public-repo=False
 --script-version=3.11.0
 --script-version=3.11.0

+ 1 - 1
server-ce/.nvmrc

@@ -1 +1 @@
-12.22.3
+12.22.7

+ 1 - 1
services/chat/.nvmrc

@@ -1 +1 @@
-12.22.3
+12.22.7

+ 1 - 1
services/chat/Dockerfile

@@ -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:12.22.3 as base
+FROM node:12.22.7 as base
 
 
 WORKDIR /app
 WORKDIR /app
 
 

+ 1 - 1
services/chat/buildscript.txt

@@ -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=12.22.3
+--node-version=12.22.7
 --public-repo=False
 --public-repo=False
 --script-version=3.11.0
 --script-version=3.11.0

+ 3 - 5
services/chat/docker-compose.ci.yml

@@ -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
 
 
-version: "2.3"
+version: '2.3'
 
 
 services:
 services:
   test_unit:
   test_unit:
@@ -11,8 +11,7 @@ services:
     command: npm run test:unit:_run
     command: npm run test:unit:_run
     environment:
     environment:
       NODE_ENV: test
       NODE_ENV: test
-      NODE_OPTIONS: "--unhandled-rejections=strict"
-
+      NODE_OPTIONS: '--unhandled-rejections=strict'
 
 
   test_acceptance:
   test_acceptance:
     build: .
     build: .
@@ -25,14 +24,13 @@ services:
       POSTGRES_HOST: postgres
       POSTGRES_HOST: postgres
       MOCHA_GREP: ${MOCHA_GREP}
       MOCHA_GREP: ${MOCHA_GREP}
       NODE_ENV: test
       NODE_ENV: test
-      NODE_OPTIONS: "--unhandled-rejections=strict"
+      NODE_OPTIONS: '--unhandled-rejections=strict'
     depends_on:
     depends_on:
       mongo:
       mongo:
         condition: service_healthy
         condition: service_healthy
     user: node
     user: node
     command: npm run test:acceptance:_run
     command: npm run test:acceptance:_run
 
 
-
   tar:
   tar:
     build: .
     build: .
     image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
     image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER

+ 5 - 6
services/chat/docker-compose.yml

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

+ 1 - 1
services/clsi/.nvmrc

@@ -1 +1 @@
-12.22.3
+12.22.7

+ 1 - 1
services/clsi/Dockerfile

@@ -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:12.22.3 as base
+FROM node:12.22.7 as base
 
 
 WORKDIR /app
 WORKDIR /app
 COPY install_deps.sh /app
 COPY install_deps.sh /app

+ 1 - 1
services/clsi/buildscript.txt

@@ -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=12.22.3
+--node-version=12.22.7
 --public-repo=True
 --public-repo=True
 --script-version=3.11.0
 --script-version=3.11.0

+ 1 - 1
services/contacts/.nvmrc

@@ -1 +1 @@
-12.22.3
+12.22.7

+ 1 - 1
services/contacts/Dockerfile

@@ -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:12.22.3 as base
+FROM node:12.22.7 as base
 
 
 WORKDIR /app
 WORKDIR /app
 
 

+ 1 - 1
services/contacts/buildscript.txt

@@ -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=12.22.3
+--node-version=12.22.7
 --public-repo=False
 --public-repo=False
 --script-version=3.11.0
 --script-version=3.11.0

+ 3 - 5
services/contacts/docker-compose.ci.yml

@@ -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
 
 
-version: "2.3"
+version: '2.3'
 
 
 services:
 services:
   test_unit:
   test_unit:
@@ -11,8 +11,7 @@ services:
     command: npm run test:unit:_run
     command: npm run test:unit:_run
     environment:
     environment:
       NODE_ENV: test
       NODE_ENV: test
-      NODE_OPTIONS: "--unhandled-rejections=strict"
-
+      NODE_OPTIONS: '--unhandled-rejections=strict'
 
 
   test_acceptance:
   test_acceptance:
     build: .
     build: .
@@ -25,14 +24,13 @@ services:
       POSTGRES_HOST: postgres
       POSTGRES_HOST: postgres
       MOCHA_GREP: ${MOCHA_GREP}
       MOCHA_GREP: ${MOCHA_GREP}
       NODE_ENV: test
       NODE_ENV: test
-      NODE_OPTIONS: "--unhandled-rejections=strict"
+      NODE_OPTIONS: '--unhandled-rejections=strict'
     depends_on:
     depends_on:
       mongo:
       mongo:
         condition: service_healthy
         condition: service_healthy
     user: node
     user: node
     command: npm run test:acceptance:_run
     command: npm run test:acceptance:_run
 
 
-
   tar:
   tar:
     build: .
     build: .
     image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
     image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER

+ 5 - 6
services/contacts/docker-compose.yml

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

+ 1 - 1
services/docstore/.nvmrc

@@ -1 +1 @@
-12.22.3
+12.22.7

+ 1 - 1
services/docstore/Dockerfile

@@ -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:12.22.3 as base
+FROM node:12.22.7 as base
 
 
 WORKDIR /app
 WORKDIR /app
 
 

+ 1 - 1
services/docstore/buildscript.txt

@@ -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=12.22.3
+--node-version=12.22.7
 --public-repo=True
 --public-repo=True
 --script-version=3.11.0
 --script-version=3.11.0

+ 4 - 6
services/docstore/docker-compose.ci.yml

@@ -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
 
 
-version: "2.3"
+version: '2.3'
 
 
 services:
 services:
   test_unit:
   test_unit:
@@ -11,8 +11,7 @@ services:
     command: npm run test:unit:_run
     command: npm run test:unit:_run
     environment:
     environment:
       NODE_ENV: test
       NODE_ENV: test
-      NODE_OPTIONS: "--unhandled-rejections=strict"
-
+      NODE_OPTIONS: '--unhandled-rejections=strict'
 
 
   test_acceptance:
   test_acceptance:
     build: .
     build: .
@@ -32,7 +31,7 @@ services:
       STORAGE_EMULATOR_HOST: http://gcs:9090/storage/v1
       STORAGE_EMULATOR_HOST: http://gcs:9090/storage/v1
       MOCHA_GREP: ${MOCHA_GREP}
       MOCHA_GREP: ${MOCHA_GREP}
       NODE_ENV: test
       NODE_ENV: test
-      NODE_OPTIONS: "--unhandled-rejections=strict"
+      NODE_OPTIONS: '--unhandled-rejections=strict'
     depends_on:
     depends_on:
       mongo:
       mongo:
         condition: service_healthy
         condition: service_healthy
@@ -41,7 +40,6 @@ services:
     user: node
     user: node
     command: npm run test:acceptance:_run
     command: npm run test:acceptance:_run
 
 
-
   tar:
   tar:
     build: .
     build: .
     image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
     image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
@@ -57,7 +55,7 @@ services:
       retries: 20
       retries: 20
   gcs:
   gcs:
     image: fsouza/fake-gcs-server:v1.21.2
     image: fsouza/fake-gcs-server:v1.21.2
-    command: ["--port=9090", "--scheme=http"]
+    command: ['--port=9090', '--scheme=http']
     healthcheck:
     healthcheck:
       test: wget --quiet --output-document=/dev/null http://localhost:9090/storage/v1/b
       test: wget --quiet --output-document=/dev/null http://localhost:9090/storage/v1/b
       interval: 1s
       interval: 1s

+ 6 - 6
services/docstore/docker-compose.yml

@@ -2,23 +2,23 @@
 # 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
 
 
-version: "2.3"
+version: '2.3'
 
 
 services:
 services:
   test_unit:
   test_unit:
-    image: node:12.22.3
+    image: node:12.22.7
     volumes:
     volumes:
       - .:/app
       - .:/app
     working_dir: /app
     working_dir: /app
     environment:
     environment:
       MOCHA_GREP: ${MOCHA_GREP}
       MOCHA_GREP: ${MOCHA_GREP}
       NODE_ENV: test
       NODE_ENV: test
-      NODE_OPTIONS: "--unhandled-rejections=strict"
+      NODE_OPTIONS: '--unhandled-rejections=strict'
     command: npm run --silent test:unit
     command: npm run --silent test:unit
     user: node
     user: node
 
 
   test_acceptance:
   test_acceptance:
-    image: node:12.22.3
+    image: node:12.22.7
     volumes:
     volumes:
       - .:/app
       - .:/app
     working_dir: /app
     working_dir: /app
@@ -38,7 +38,7 @@ services:
       MOCHA_GREP: ${MOCHA_GREP}
       MOCHA_GREP: ${MOCHA_GREP}
       LOG_LEVEL: ERROR
       LOG_LEVEL: ERROR
       NODE_ENV: test
       NODE_ENV: test
-      NODE_OPTIONS: "--unhandled-rejections=strict"
+      NODE_OPTIONS: '--unhandled-rejections=strict'
     user: node
     user: node
     depends_on:
     depends_on:
       mongo:
       mongo:
@@ -56,7 +56,7 @@ services:
 
 
   gcs:
   gcs:
     image: fsouza/fake-gcs-server:v1.21.2
     image: fsouza/fake-gcs-server:v1.21.2
-    command: ["--port=9090", "--scheme=http"]
+    command: ['--port=9090', '--scheme=http']
     healthcheck:
     healthcheck:
       test: wget --quiet --output-document=/dev/null http://localhost:9090/storage/v1/b
       test: wget --quiet --output-document=/dev/null http://localhost:9090/storage/v1/b
       interval: 1s
       interval: 1s

+ 1 - 1
services/document-updater/.nvmrc

@@ -1 +1 @@
-12.22.3
+12.22.7

+ 1 - 1
services/document-updater/Dockerfile

@@ -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:12.22.3 as base
+FROM node:12.22.7 as base
 
 
 WORKDIR /app
 WORKDIR /app
 
 

+ 1 - 1
services/document-updater/buildscript.txt

@@ -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=12.22.3
+--node-version=12.22.7
 --public-repo=True
 --public-repo=True
 --script-version=3.11.0
 --script-version=3.11.0

+ 5 - 6
services/document-updater/docker-compose.yml

@@ -2,23 +2,23 @@
 # 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
 
 
-version: "2.3"
+version: '2.3'
 
 
 services:
 services:
   test_unit:
   test_unit:
-    image: node:12.22.3
+    image: node:12.22.7
     volumes:
     volumes:
       - .:/app
       - .:/app
     working_dir: /app
     working_dir: /app
     environment:
     environment:
       MOCHA_GREP: ${MOCHA_GREP}
       MOCHA_GREP: ${MOCHA_GREP}
       NODE_ENV: test
       NODE_ENV: test
-      NODE_OPTIONS: "--unhandled-rejections=strict"
+      NODE_OPTIONS: '--unhandled-rejections=strict'
     command: npm run --silent test:unit
     command: npm run --silent test:unit
     user: node
     user: node
 
 
   test_acceptance:
   test_acceptance:
-    image: node:12.22.3
+    image: node:12.22.7
     volumes:
     volumes:
       - .:/app
       - .:/app
     working_dir: /app
     working_dir: /app
@@ -31,7 +31,7 @@ services:
       MOCHA_GREP: ${MOCHA_GREP}
       MOCHA_GREP: ${MOCHA_GREP}
       LOG_LEVEL: ERROR
       LOG_LEVEL: ERROR
       NODE_ENV: test
       NODE_ENV: test
-      NODE_OPTIONS: "--unhandled-rejections=strict"
+      NODE_OPTIONS: '--unhandled-rejections=strict'
     user: node
     user: node
     depends_on:
     depends_on:
       mongo:
       mongo:
@@ -53,4 +53,3 @@ services:
       test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"
       test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"
       interval: 1s
       interval: 1s
       retries: 20
       retries: 20
-

+ 1 - 1
services/filestore/.nvmrc

@@ -1 +1 @@
-12.22.3
+12.22.7

+ 1 - 1
services/filestore/Dockerfile

@@ -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:12.22.3 as base
+FROM node:12.22.7 as base
 
 
 WORKDIR /app
 WORKDIR /app
 COPY install_deps.sh /app
 COPY install_deps.sh /app

+ 1 - 1
services/filestore/buildscript.txt

@@ -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=12.22.3
+--node-version=12.22.7
 --public-repo=True
 --public-repo=True
 --script-version=3.11.0
 --script-version=3.11.0

+ 1 - 1
services/notifications/.nvmrc

@@ -1 +1 @@
-12.22.3
+12.22.7

+ 1 - 1
services/notifications/Dockerfile

@@ -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:12.22.3 as base
+FROM node:12.22.7 as base
 
 
 WORKDIR /app
 WORKDIR /app
 
 

+ 1 - 1
services/notifications/buildscript.txt

@@ -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=12.22.3
+--node-version=12.22.7
 --public-repo=True
 --public-repo=True
 --script-version=3.11.0
 --script-version=3.11.0

+ 3 - 5
services/notifications/docker-compose.ci.yml

@@ -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
 
 
-version: "2.3"
+version: '2.3'
 
 
 services:
 services:
   test_unit:
   test_unit:
@@ -11,8 +11,7 @@ services:
     command: npm run test:unit:_run
     command: npm run test:unit:_run
     environment:
     environment:
       NODE_ENV: test
       NODE_ENV: test
-      NODE_OPTIONS: "--unhandled-rejections=strict"
-
+      NODE_OPTIONS: '--unhandled-rejections=strict'
 
 
   test_acceptance:
   test_acceptance:
     build: .
     build: .
@@ -25,14 +24,13 @@ services:
       POSTGRES_HOST: postgres
       POSTGRES_HOST: postgres
       MOCHA_GREP: ${MOCHA_GREP}
       MOCHA_GREP: ${MOCHA_GREP}
       NODE_ENV: test
       NODE_ENV: test
-      NODE_OPTIONS: "--unhandled-rejections=strict"
+      NODE_OPTIONS: '--unhandled-rejections=strict'
     depends_on:
     depends_on:
       mongo:
       mongo:
         condition: service_healthy
         condition: service_healthy
     user: node
     user: node
     command: npm run test:acceptance:_run
     command: npm run test:acceptance:_run
 
 
-
   tar:
   tar:
     build: .
     build: .
     image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
     image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER

+ 5 - 6
services/notifications/docker-compose.yml

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

+ 1 - 1
services/track-changes/.nvmrc

@@ -1 +1 @@
-12.22.3
+12.22.7

+ 1 - 1
services/track-changes/Dockerfile

@@ -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:12.22.3 as base
+FROM node:12.22.7 as base
 
 
 WORKDIR /app
 WORKDIR /app
 
 

+ 1 - 1
services/track-changes/buildscript.txt

@@ -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=12.22.3
+--node-version=12.22.7
 --public-repo=True
 --public-repo=True
 --script-version=3.11.0
 --script-version=3.11.0

+ 2 - 2
services/track-changes/docker-compose.yml

@@ -6,7 +6,7 @@ version: "2.3"
 
 
 services:
 services:
   test_unit:
   test_unit:
-    image: node:12.22.3
+    image: node:12.22.7
     volumes:
     volumes:
       - .:/app
       - .:/app
     working_dir: /app
     working_dir: /app
@@ -18,7 +18,7 @@ services:
     user: node
     user: node
 
 
   test_acceptance:
   test_acceptance:
-    image: node:12.22.3
+    image: node:12.22.7
     volumes:
     volumes:
       - .:/app
       - .:/app
     working_dir: /app
     working_dir: /app