From 40a99f8ed17ce989ddc67de72f36f09be4af955d Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Thu, 9 May 2024 11:20:14 +0100 Subject: [PATCH] remove checkpoint image after push --- apps/coordinator/src/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/coordinator/src/index.ts b/apps/coordinator/src/index.ts index 170db5bd6..113ef6a10 100644 --- a/apps/coordinator/src/index.ts +++ b/apps/coordinator/src/index.ts @@ -352,9 +352,8 @@ class Checkpointer { await $$`rm ${exportLocation}`; this.#logger.log("Deleted checkpoint archive", { exportLocation }); - // Disabled for now as this will increase restore time by having to pull the image again - // await $`buildah rmi ${imageRef}`; - // this.#logger.log("Deleted checkpoint image", { imageRef }); + await $`buildah rmi ${imageRef}`; + this.#logger.log("Deleted checkpoint image", { imageRef }); } catch (error) { this.#logger.error("Failed during checkpoint cleanup", { exportLocation }); throw error;