mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
[monorepo] extend cleanup in Jenkins VMs (#27793)
* [monorepo] extend docker compose cleanup * [web] cleanup docker images Only retain the branch builds for dependencies. * [server-ce] jenkins: remove build specific image Retain the branch image as cache. * [monorepo] jenkins: prune untagged docker images and docker build cache * [monorepo] jenkins: remove temporary files from monorepo * [monorepo] jenkins: remove containers from sandboxed compiles GitOrigin-RevId: c847015986a060c5c84c39cd06236fd73bbf6f3a
This commit is contained in:
@@ -25,8 +25,9 @@ DOCKER_COMPOSE_TEST_UNIT = \
|
||||
clean:
|
||||
-docker rmi ci/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
|
||||
-docker rmi us-east1-docker.pkg.dev/overleaf-ops/ol-docker/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
|
||||
-$(DOCKER_COMPOSE_TEST_UNIT) down --rmi local
|
||||
-$(DOCKER_COMPOSE_TEST_ACCEPTANCE) down --rmi local
|
||||
-$(DOCKER_COMPOSE_TEST_UNIT) down --remove-orphans --rmi local --timeout 0 --volumes
|
||||
-$(DOCKER_COMPOSE_TEST_ACCEPTANCE) down --remove-orphans --rmi local --timeout 0 --volumes
|
||||
-git clean -dfX uploads user_files template_files
|
||||
|
||||
HERE=$(shell pwd)
|
||||
MONOREPO=$(shell cd ../../ && pwd)
|
||||
|
||||
Reference in New Issue
Block a user