From b01459508caf5f733f2d48b2cc209b3656edb490 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Fri, 1 Aug 2025 10:07:14 +0200 Subject: [PATCH] [packer] rework jenkins worker image (#27573) - Use Makefile for coordinating all the independent tasks - Pull down lots of other docker images, notably all the images for running Server Pro E2E tests - Run copybara to populate it's caches - Build Server CE and Server Pro images to populate npm caches - Build all the monorepo images for SaaS E2E tests - Restore the latest database backup into the CI local dev-env GitOrigin-RevId: 821b036d1afaf2f00372dc6d0f82a51b4c3b7cc4 --- server-ce/test/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/server-ce/test/Makefile b/server-ce/test/Makefile index 03703a6383..51e953ca89 100644 --- a/server-ce/test/Makefile +++ b/server-ce/test/Makefile @@ -72,4 +72,14 @@ build_mailtrap: git clone https://github.com/dbck/docker-mailtrap.git || true && cd docker-mailtrap && git checkout v1.5.0 docker build -t mailtrap docker-mailtrap/build +npm_install_in_docker: export COMPOSE_PROJECT_NAME= +npm_install_in_docker: + $(MAKE) -C ../../ .metadata/docker-image/monorepo + cd ../../ && bin/run --no-deps --workdir /overleaf/server-ce/test monorepo npm --no-dry-run install + +format_in_docker: export COMPOSE_PROJECT_NAME= +format_in_docker: + $(MAKE) -C ../../ .metadata/docker-image/monorepo + cd ../../ && bin/run --no-deps --workdir /overleaf/server-ce/test monorepo npm run format + .PHONY: test-e2e test-e2e-open