File tree 1 file changed +6
-2
lines changed 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ configvar CSI_PROW_GO_VERSION_GINKGO "${CSI_PROW_GO_VERSION_BUILD}" "Go version
101
101
# kind version to use. If the pre-installed version is different,
102
102
# the desired version is downloaded from https://github.com/kubernetes-sigs/kind/releases/download/
103
103
# (if available), otherwise it is built from source.
104
- configvar CSI_PROW_KIND_VERSION v0.4.0 " kind"
104
+ configvar CSI_PROW_KIND_VERSION 13052462357bd006f3f25e3c3c88b400d65ba173 " kind"
105
105
106
106
# ginkgo test runner version to use. If the pre-installed version is
107
107
# different, the desired version is built from source.
@@ -380,7 +380,11 @@ install_kind () {
380
380
chmod u+x " ${CSI_PROW_WORK} /bin/kind"
381
381
else
382
382
git_checkout https://github.com/kubernetes-sigs/kind " $GOPATH /src/sigs.k8s.io/kind" " ${CSI_PROW_KIND_VERSION} " --depth=1 &&
383
- run_with_go " ${CSI_PROW_GO_VERSION_KIND} " go build -o " ${CSI_PROW_WORK} /bin/kind" sigs.k8s.io/kind
383
+ if [ -d " $GOPATH /src/sigs.k8s.io/kind/vendor" ]; then
384
+ run_with_go " ${CSI_PROW_GO_VERSION_KIND} " go build -o " ${CSI_PROW_WORK} /bin/kind" sigs.k8s.io/kind;
385
+ else
386
+ (cd " $CSI_PROW_WORK /kind" && run_with_go " ${CSI_PROW_GO_VERSION_KIND} " go build -o " ${CSI_PROW_WORK} /bin/kind" .)
387
+ fi
384
388
fi
385
389
}
386
390
You can’t perform that action at this time.
0 commit comments