From d2ae5423539e2b17ab65279c8de9b3bc3cda7c24 Mon Sep 17 00:00:00 2001 From: helenxie-bit Date: Tue, 24 Sep 2024 13:13:41 -0700 Subject: [PATCH] use 'docker system prune' Signed-off-by: helenxie-bit --- .github/workflows/e2e-test-train-api.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e-test-train-api.yaml b/.github/workflows/e2e-test-train-api.yaml index c286d9a6e9..84fba097dd 100644 --- a/.github/workflows/e2e-test-train-api.yaml +++ b/.github/workflows/e2e-test-train-api.yaml @@ -42,6 +42,9 @@ jobs: - name: Deploy training operator run: | ./scripts/gha/setup-training-operator.sh + docker system prune -a -f + docker system df + df -h env: KIND_CLUSTER: training-operator-cluster TRAINING_CI_IMAGE: kubeflowtraining/training-operator:test @@ -60,8 +63,7 @@ jobs: - name: Load trainer run: | kind load docker-image ${{ env.TRAINER_CI_IMAGE }} --name ${{ env.KIND_CLUSTER }} - docker image prune -a -f - docker volume prune -f + docker system prune -a -f docker system df df -h env: @@ -81,8 +83,7 @@ jobs: - name: Load storage initializer run: | kind load docker-image ${{ env.STORAGE_INITIALIZER_CI_IMAGE }} --name ${{ env.KIND_CLUSTER }} - docker image prune -a -f - docker volume prune -f + docker system prune -a -f docker system df df -h env: