From a9157c2433e64a25c4b0be4a09431db05881eb1a Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Wed, 30 Jun 2021 16:42:09 -0700 Subject: [PATCH] improve Windows Docker clean slate --- hack/jenkins/windows_integration_test_docker.ps1 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hack/jenkins/windows_integration_test_docker.ps1 b/hack/jenkins/windows_integration_test_docker.ps1 index 8fdf4a3a8d..7cdaa443a9 100644 --- a/hack/jenkins/windows_integration_test_docker.ps1 +++ b/hack/jenkins/windows_integration_test_docker.ps1 @@ -48,12 +48,11 @@ echo "Docker_Windows" | gsutil cp - "$append_tmp" gsutil compose "$started_environments" "$append_tmp" "$started_environments" gsutil rm "$append_tmp" -# Remove unused images and containers -docker system prune --all --force - - ./out/minikube-windows-amd64.exe delete --all +# Remove unused images and containers +docker system prune --all --force --volumes + ./out/windows_integration_setup.ps1 docker ps -aq | ForEach -Process {docker rm -fv $_}