fail docker tests immediately of docker doesn't start up
parent
88902ee698
commit
a8bae1311e
|
@ -31,3 +31,4 @@ while($attempt -ne 0) {
|
|||
Get-Process "*Docker Desktop*" | Stop-Process
|
||||
$attempt -= 1
|
||||
}
|
||||
exit 1
|
||||
|
|
|
@ -19,6 +19,11 @@ gsutil.cmd -m cp -r gs://minikube-builds/$env:MINIKUBE_LOCATION/testdata .
|
|||
gsutil.cmd -m cp -r gs://minikube-builds/$env:MINIKUBE_LOCATION/setup_docker_desktop_windows.ps1 out/
|
||||
|
||||
./out/setup_docker_desktop_windows.ps1
|
||||
If ($lastexitcode -gt 0) {
|
||||
echo "Docker failed to start, exiting."
|
||||
Exit $lastexitcode
|
||||
}
|
||||
|
||||
|
||||
./out/minikube-windows-amd64.exe delete --all
|
||||
|
||||
|
|
Loading…
Reference in New Issue