Henry Oswald
|
fec359afac
|
Merge pull request #162 from overleaf/ta-jpa-epipe-retry
[DockerRunner] retry container inspect on EPIPE
|
2020-05-19 11:15:25 +01:00 |
|
Henry Oswald
|
97f5691c87
|
Merge pull request #166 from overleaf/jpa-port-smoke-test-patch
[misc] simplify the smoke test and process shutdown
|
2020-05-19 10:31:32 +01:00 |
|
Jakob Ackermann
|
9807b51519
|
[misc] apply review feedback
|
2020-05-19 10:30:59 +01:00 |
|
Jakob Ackermann
|
b8125e396a
|
[misc] simplify the smoke test and process shutdown
|
2020-05-19 10:30:59 +01:00 |
|
Henry Oswald
|
73afa1a8d7
|
Merge pull request #164 from overleaf/bg-fix-buffer-deprecations
fix deprecated usage of Buffer constructor
|
2020-05-19 10:26:56 +01:00 |
|
Henry Oswald
|
942678de38
|
Merge pull request #163 from overleaf/bg-use-encoding-on-process-output
set encoding when reading from streams
|
2020-05-19 10:26:26 +01:00 |
|
Henry Oswald
|
3834c37013
|
Merge pull request #165 from overleaf/ho-retry-url-downloads
add pipeUrlToFileWithRetry for file downloads
|
2020-05-19 10:25:19 +01:00 |
|
Henry Oswald
|
a425412bdd
|
Merge pull request #168 from overleaf/ho-dynamic-disk-size-checker-2
add refreshExpiryTimeout function
|
2020-05-19 10:25:12 +01:00 |
|
Henry Oswald
|
c004d299c1
|
add refreshExpiryTimeout function
on clsi all data lives inside of / dir
dynamically reduce size of EXPIRY_TIMEOUT if disk starts to get full
|
2020-05-18 15:17:19 +01:00 |
|
Henry Oswald
|
0bd99a3edc
|
add pipeUrlToFileWithRetry function to retry file downloads 3 times
|
2020-05-14 13:24:58 +01:00 |
|
Brian Gough
|
3592ffda52
|
fix deprecated usage of Buffer constructor
|
2020-05-07 10:42:05 +01:00 |
|
Brian Gough
|
5b5fd2f5df
|
set encoding when reading from streams
using .toString() works most of the time but can lead to utf8 characters being
broken across chunk boundaries.
https://nodejs.org/api/stream.html#stream_readable_setencoding_encoding
|
2020-05-07 10:30:14 +01:00 |
|
Henry Oswald
|
7254a025ae
|
Merge pull request #146 from overleaf/bg-support-other-runtimes
support other runtimes
|
2020-04-23 14:42:18 +01:00 |
|
Henry Oswald
|
4bd567b78d
|
Merge branch 'master' into bg-support-other-runtimes
port coffee changes to js
|
2020-04-23 13:59:05 +01:00 |
|
Henry Oswald
|
b10f0ae9ad
|
Merge pull request #158 from overleaf/jpa-entry-point-cleanup
[misc] entry point cleanup
|
2020-04-23 13:52:04 +01:00 |
|
Henry Oswald
|
a4c64d7151
|
Merge pull request #155 from overleaf/ho-limit-lifespan
limit clsi lifespan via health checks and PROCESS_LIFE_SPAN_LIMIT_MS
|
2020-04-23 13:51:09 +01:00 |
|
Henry Oswald
|
557dc47e30
|
cleanup the shutdown code a bit
|
2020-04-23 11:32:33 +01:00 |
|
Henry Oswald
|
3513748f73
|
add variance into shutdown time to avoid stampeed
|
2020-04-14 13:36:11 +01:00 |
|
Jakob Ackermann
|
2b2fcca39c
|
[DockerRunner] fix metric incrementing and error logging
- do not log on first EPIPE
- inc 'container-inspect-epipe-error' on permanent error only
Co-Authored-By: Tim Alby <timothee.alby@gmail.com>
|
2020-04-10 14:44:57 +02:00 |
|
Tim Alby
|
9e82ab0890
|
add metrics for EPIPE errors
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
|
2020-04-10 12:28:48 +02:00 |
|
Tim Alby
|
e3da458b37
|
retry once on EPIPE errors
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
|
2020-04-10 12:28:11 +02:00 |
|
Tim Alby
|
8fa4232148
|
fix arguments order
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
|
2020-04-10 12:27:15 +02:00 |
|
Jakob Ackermann
|
2bd4c1dbee
|
Merge remote-tracking branch 'origin/master' into jpa-entry-point-cleanup
|
2020-04-03 14:05:36 +02:00 |
|
Jakob Ackermann
|
44f30d6c2e
|
Merge pull request #159 from overleaf/jpa-fix-docker-modem-error-scheme
[misc] keep up with the error signature of dockerode/docker-modem
|
2020-04-03 14:04:06 +02:00 |
|
Jakob Ackermann
|
c56dcc4d15
|
Merge pull request #157 from overleaf/jpa-download-failed-metric
[misc] add a metric for failing downloads
|
2020-04-03 14:03:16 +02:00 |
|
Jakob Ackermann
|
2ff0564009
|
Merge pull request #156 from overleaf/jpa-logger-1-9-1
[misc] bump logger-sharelatex to 1.9.1
|
2020-04-03 14:03:04 +02:00 |
|
Jakob Ackermann
|
3db40804ba
|
[misc] use a directory in /tmp for temporary data
|
2020-04-03 12:36:32 +02:00 |
|
Jakob Ackermann
|
4ee0dc2471
|
[misc] narrow down write access/ownership for the run-time user
|
2020-04-03 12:36:32 +02:00 |
|
Jakob Ackermann
|
c5d10d02fc
|
[misc] move the sqlite database into a db/ directory
|
2020-04-03 12:36:31 +02:00 |
|
Jakob Ackermann
|
b69ea2f83f
|
[misc] drop debug output and log docker version on stderr
|
2020-04-03 12:36:31 +02:00 |
|
Jakob Ackermann
|
638d2f30d3
|
[misc] add a metric for failing downloads
|
2020-04-03 12:35:40 +02:00 |
|
Jakob Ackermann
|
54ce1373af
|
Merge pull request #160 from overleaf/jpa-build-scripts-2-1-0
[misc] bump the build-scripts to version 2.1.0
|
2020-04-03 12:33:06 +02:00 |
|
Jakob Ackermann
|
00c5ace592
|
[misc] bump the build-scripts to version 2.1.0
This will put acceptance and unit tests in own namespaces so that they
can run and be teared down individually.
|
2020-04-03 12:18:09 +02:00 |
|
Henry Oswald
|
b445f7fb78
|
Merge branch 'master' of github.com:overleaf/clsi into ho-limit-lifespan
|
2020-03-31 09:52:37 +01:00 |
|
Jakob Ackermann
|
4a26ec975f
|
[misc] keep up with the error signature of dockerode/docker-modem
https://github.com/apocas/docker-modem/blob/v2.1.1/lib/modem.js#L296
|
2020-03-27 10:39:45 +01:00 |
|
Jakob Ackermann
|
96a41a5f17
|
[misc] bump logger-sharelatex to 1.9.1
|
2020-03-23 16:18:07 +01:00 |
|
Henry Oswald
|
2e5e040475
|
limit clsi lifespan via health checks and PROCESS_LIFE_SPAN_LIMIT_MS
|
2020-03-20 13:37:58 +00:00 |
|
Miguel Serrano
|
93c121f1dc
|
Merge pull request #154 from overleaf/msm-dependency-update
Dependency update
|
2020-03-19 16:12:51 +01:00 |
|
mserranom
|
4a47f21edd
|
updated sandboxed-module, chai and metrics-sharelatex
|
2020-03-16 17:14:04 +01:00 |
|
mserranom
|
6f837f1a74
|
updated sequelize
|
2020-03-16 16:31:02 +01:00 |
|
mserranom
|
3ff9c18dcb
|
updated mocha and sinon, fixed tests
|
2020-03-12 10:35:11 +01:00 |
|
mserranom
|
ffb33ddb40
|
removed mkdirp dependency and replaced with fs.mkdir
|
2020-03-12 10:22:08 +01:00 |
|
mserranom
|
a850fec664
|
updated mkdirp
|
2020-03-11 19:39:08 +01:00 |
|
mserranom
|
c49381cfba
|
updated dockerode, heapdump, lyns and fs-extra
|
2020-03-11 19:25:50 +01:00 |
|
Simon Detheridge
|
2e211fd218
|
Merge pull request #153 from overleaf/ho-remove-install-texlive-startup
copy synctex over to /app/bin/synctex-mount in entrypoint
|
2020-03-11 12:17:57 +00:00 |
|
mserranom
|
f3cf7ef9a0
|
updated minor/patch dependencies
|
2020-03-11 12:20:48 +01:00 |
|
Henry Oswald
|
26122bef3a
|
copy synctex over to /app/bin/synctex-mount in entrypoint
|
2020-03-11 11:06:46 +00:00 |
|
mserranom
|
8673a99de3
|
npm audit fix
|
2020-03-11 11:58:42 +01:00 |
|
mserranom
|
7a0724d07b
|
updated build-scripts
|
2020-03-11 11:55:44 +01:00 |
|
Simon Detheridge
|
98fedeba16
|
Merge pull request #152 from overleaf/ho-remove-install-texlive-startup
remove ./bin/install_texlive_gce.sh which shouldn't be needed
|
2020-03-11 10:25:21 +00:00 |
|