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: prow.sh
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -248,11 +248,16 @@ configvar CSI_PROW_DEP_VERSION v0.5.1 "golang dep version to be used for vendor
248
248
#
249
249
# Unknown or unsupported entries are ignored.
250
250
#
251
+
# Testing of alpha features is only supported for CSI_PROW_KUBERNETES_VERSION=latest
252
+
# because CSI_PROW_E2E_ALPHA and CSI_PROW_E2E_ALPHA_GATES are not set for
253
+
# older Kubernetes releases. The script supports that, it just isn't done because
254
+
# it is not needed and would cause additional maintenance effort.
255
+
#
251
256
# Sanity testing with csi-sanity only covers the CSI driver itself and
252
257
# thus only makes sense in repos which provide their own CSI
253
258
# driver. Repos can enable sanity testing by setting
254
259
# CSI_PROW_TESTS_SANITY=sanity.
255
-
configvar CSI_PROW_TESTS "unit parallel serial parallel-alpha serial-alpha sanity""tests to run"
260
+
configvar CSI_PROW_TESTS "unit parallel serial $(if [ "${CSI_PROW_KUBERNETES_VERSION}"="latest" ];thenechoparallel-alpha serial-alpha; fi) sanity""tests to run"
256
261
tests_enabled () {
257
262
local t1 t2
258
263
# We want word-splitting here, so ignore: Quote to prevent word splitting, or split robustly with mapfile or read -a.
@@ -558,7 +563,8 @@ start_cluster () {
558
563
git_clone_branch https://github.com/kubernetes/kubernetes "${CSI_PROW_WORK}/src/kubernetes""$version"|| die "checking out Kubernetes $version failed"
559
564
560
565
go_version="$(go_version_for_kubernetes "${CSI_PROW_WORK}/src/kubernetes""$version")"|| die "cannot proceed without knowing Go version for Kubernetes"
0 commit comments