Merge pull request #18316 from overleaf/jpa-host-admin

[server-ce] e2e tests: add capability for reconfiguring the instance

GitOrigin-RevId: 44ec800b5b37497b3122310a94f637c24ff2667a
This commit is contained in:
Jakob Ackermann
2024-05-30 09:12:56 +02:00
committed by Copybot
parent 22257cf037
commit 8eb8b233c0
19 changed files with 1144 additions and 177 deletions

View File

@@ -15,11 +15,6 @@ ADD package.json package-lock.json /overleaf/
ADD libraries/ /overleaf/libraries/
ADD services/ /overleaf/services/
# Store the revision
# ------------------
ARG MONOREPO_REVISION
RUN echo "monorepo-server-ce,$MONOREPO_REVISION" > /var/www/revisions.txt
# Add npm patches
# -----------------------
ADD patches/ /overleaf/patches
@@ -115,3 +110,9 @@ ENV LOG_LEVEL "info"
EXPOSE 80
ENTRYPOINT ["/sbin/my_init"]
# Store the revision
# ------------------
# This should be the last step to optimize docker image caching.
ARG MONOREPO_REVISION
RUN echo "monorepo-server-ce,$MONOREPO_REVISION" > /var/www/revisions.txt