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
# Sets the default value for a variable if not set already and logs the value.
43
46
# Any variable set this way is usually something that a repo's .prow.sh
44
47
# or the job can set.
@@ -53,7 +56,10 @@ configvar () {
53
56
# If the pre-installed Go is missing or a different
54
57
# version, the required version here will get installed
55
58
# from https://golang.org/dl/.
56
-
configvar CSI_PROW_GO_VERSION_BUILD 1.11.4 "Go version for building the component"# depends on component's source code
59
+
go_from_travis_yml () {
60
+
grep "^ *- go:""${RELEASE_TOOLS_ROOT}/travis.yml"| sed -e 's/.*go: *//'
61
+
}
62
+
configvar CSI_PROW_GO_VERSION_BUILD "$(go_from_travis_yml)""Go version for building the component"# depends on component's source code
57
63
configvar CSI_PROW_GO_VERSION_K8S 1.12.1 "Go version for building Kubernetes for the test cluster"# depends on Kubernetes version
58
64
configvar CSI_PROW_GO_VERSION_E2E 1.12.1 "Go version for building the Kubernetes E2E test suite"# depends on CSI_PROW_E2E settings below
59
65
configvar CSI_PROW_GO_VERSION_SANITY "${CSI_PROW_GO_VERSION_BUILD}""Go version for building the csi-sanity test suite"# depends on CSI_PROW_SANITY settings below
@@ -262,9 +268,6 @@ configvar CSI_PROW_E2E_SKIP 'while.kubelet.is.down.*Disruptive' "tests that need
0 commit comments