@@ -51,29 +51,17 @@ gsutil.cmd -m cp -r gs://minikube-builds/$env:MINIKUBE_LOCATION/testdata .
51
51
gsutil.cmd - m cp - r gs:// minikube- builds/ $env: MINIKUBE_LOCATION / windows_integration_setup.ps1 out/
52
52
gsutil.cmd - m cp - r gs:// minikube- builds/ $env: MINIKUBE_LOCATION / windows_integration_teardown.ps1 out/
53
53
54
- # check for Docker CLI
55
- docker -- help
56
- if ($lastexitcode -gt 0 ) {
57
- echo " Docker CLI not found, exiting."
58
- $json = " {`" state`" : `" failure`" , `" description`" : `" Jenkins: Docker CLI not found`" , `" target_url`" : `" https://storage.googleapis.com/$gcs_bucket /$env: JOB_NAME .txt`" , `" context`" : `" $env: JOB_NAME `" }"
59
- Write-GithubStatus - JsonBody $json
54
+ # Make sure Docker is up and running
55
+ gsutil.cmd - m cp - r gs:// minikube- builds/ $env: MINIKUBE_LOCATION / setup_docker_desktop_windows.ps1 out/
56
+ ./ out/ setup_docker_desktop_windows.ps1
57
+ If ($lastexitcode -gt 0 ) {
58
+ echo " Docker failed to start, exiting."
59
+ $json = " {`" state`" : `" failure`" , `" description`" : `" Jenkins: docker failed to start`" , `" target_url`" : `" https://storage.googleapis.com/$gcs_bucket /$env: JOB_NAME .txt`" , `" context`" : `" $env: JOB_NAME `" }"
60
+ Write-GithubStatus - JsonBody $json
60
61
./ out/ windows_integration_teardown.ps1
61
- Exit $lastexitcode
62
- }
63
-
64
- if ($driver -eq " docker" ) {
65
- # Make sure Docker is up and running
66
- gsutil.cmd - m cp - r gs:// minikube- builds/ $env: MINIKUBE_LOCATION / setup_docker_desktop_windows.ps1 out/
67
- ./ out/ setup_docker_desktop_windows.ps1
68
- If ($lastexitcode -gt 0 ) {
69
- echo " Docker failed to start, exiting."
70
- $json = " {`" state`" : `" failure`" , `" description`" : `" Jenkins: docker failed to start`" , `" target_url`" : `" https://storage.googleapis.com/$gcs_bucket /$env: JOB_NAME .txt`" , `" context`" : `" $env: JOB_NAME `" }"
71
- Write-GithubStatus - JsonBody $json
72
- ./ out/ windows_integration_teardown.ps1
73
- Exit $lastexitcode
74
- }
75
- docker system prune - a -- volumes -f
62
+ Exit $lastexitcode
76
63
}
64
+ docker system prune - a -- volumes -f
77
65
78
66
# install/update Go if required
79
67
gsutil.cmd - m cp - r gs:// minikube- builds/ $env: MINIKUBE_LOCATION / installers/ check_install_golang.ps1 out/
0 commit comments