You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/ci-e2e-lib.sh
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -104,9 +104,9 @@ kind::prepareKindestImage() {
104
104
# Try to pre-pull the image
105
105
kind::prepullImage "kindest/node:$version"
106
106
107
-
# if pre-pull failed, falling back to local build
108
-
if [[ "$retVal"!= 0 ]];then
109
-
echo"+ image for Kuberentes $version is not available in docker hub, trying local build"
107
+
# if pre-pull failed, or ALWAYS_BUILD_KIND_IMAGES is true build the images locally.
108
+
if [[ "$retVal"!= 0 ]] || [[ "$ALWAYS_BUILD_KIND_IMAGES"="true" ]];then
109
+
echo"+ building image for Kuberentes $versionlocally. This is either because the image wasn't available in docker hub or ALWAYS_BUILD_KIND_IMAGES is set to true"
0 commit comments