[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
This commit is contained in:
Jakob Ackermann
2025-08-01 10:07:14 +02:00
committed by Copybot
parent 34a47c7767
commit b01459508c

View File

@@ -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