@@ -132,7 +132,7 @@ configvar CSI_PROW_BUILD_JOB true "building code in repo enabled"
132
132
# use the same settings as for "latest" Kubernetes. This works
133
133
# as long as there are no breaking changes in Kubernetes, like
134
134
# deprecating or changing the implementation of an alpha feature.
135
- configvar CSI_PROW_KUBERNETES_VERSION 1.15.3 " Kubernetes"
135
+ configvar CSI_PROW_KUBERNETES_VERSION 1.17.0 " Kubernetes"
136
136
137
137
# This is a hack to workaround the issue that each version
138
138
# of kind currently only supports specific patch versions of
@@ -142,7 +142,6 @@ configvar CSI_PROW_KUBERNETES_VERSION 1.15.3 "Kubernetes"
142
142
#
143
143
# If the version is prefixed with "release-", then nothing
144
144
# is overridden.
145
- override_k8s_version " 1.14.6"
146
145
override_k8s_version " 1.15.3"
147
146
148
147
# CSI_PROW_KUBERNETES_VERSION reduced to first two version numbers and
@@ -206,9 +205,9 @@ configvar CSI_PROW_HOSTPATH_CANARY "" "hostpath image"
206
205
#
207
206
# CSI_PROW_E2E_REPO=none disables E2E testing.
208
207
# TOOO: remove versioned variables and make e2e version match k8s version
209
- configvar CSI_PROW_E2E_VERSION_1_14 v1.14.0 " E2E version for Kubernetes 1.14.x"
210
208
configvar CSI_PROW_E2E_VERSION_1_15 v1.15.0 " E2E version for Kubernetes 1.15.x"
211
209
configvar CSI_PROW_E2E_VERSION_1_16 v1.16.0 " E2E version for Kubernetes 1.16.x"
210
+ configvar CSI_PROW_E2E_VERSION_1_17 v1.17.0 " E2E version for Kubernetes 1.17.x"
212
211
# TODO: add new CSI_PROW_E2E_VERSION entry for future Kubernetes releases
213
212
configvar CSI_PROW_E2E_VERSION_LATEST master " E2E version for Kubernetes master" # testing against Kubernetes master is already tracking a moving target, so we might as well use a moving E2E version
214
213
configvar CSI_PROW_E2E_REPO_LATEST https://github.com/kubernetes/kubernetes " E2E repo for Kubernetes >= 1.13.x" # currently the same for all versions
@@ -278,6 +277,14 @@ tests_need_alpha_cluster () {
278
277
tests_enabled " parallel-alpha" " serial-alpha"
279
278
}
280
279
280
+ # Regex for non-alpha, feature-tagged tests that should be run.
281
+ #
282
+ # Starting with 1.17, snapshots is beta, but the E2E tests still have the
283
+ # [Feature:] tag. They need to be explicitly enabled.
284
+ configvar CSI_PROW_E2E_FOCUS_1_15 ' ^' " non-alpha, feature-tagged tests for Kubernetes = 1.15" # no tests to run, match nothing
285
+ configvar CSI_PROW_E2E_FOCUS_1_16 ' ^' " non-alpha, feature-tagged tests for Kubernetes = 1.16" # no tests to run, match nothing
286
+ configvar CSI_PROW_E2E_FOCUS_LATEST ' \[Feature:VolumeSnapshotDataSource\]' " non-alpha, feature-tagged tests for Kubernetes >= 1.17"
287
+ configvar CSI_PROW_E2E_FOCUS " $( get_versioned_variable CSI_PROW_E2E_FOCUS " ${csi_prow_kubernetes_version_suffix} " ) " " non-alpha, feature-tagged tests"
281
288
282
289
# Serial vs. parallel is always determined by these regular expressions.
283
290
# Individual regular expressions are seperated by spaces for readability
@@ -313,12 +320,11 @@ configvar CSI_PROW_E2E_ALPHA "$(get_versioned_variable CSI_PROW_E2E_ALPHA "${csi
313
320
# kubernetes-csi components must be updated, either by disabling
314
321
# the failing test for "latest" or by updating the test and not running
315
322
# it anymore for older releases.
316
- configvar CSI_PROW_E2E_ALPHA_GATES_1_14 ' VolumeSnapshotDataSource=true,ExpandCSIVolumes=true' " alpha feature gates for Kubernetes 1.14"
317
323
configvar CSI_PROW_E2E_ALPHA_GATES_1_15 ' VolumeSnapshotDataSource=true,ExpandCSIVolumes=true' " alpha feature gates for Kubernetes 1.15"
318
324
configvar CSI_PROW_E2E_ALPHA_GATES_1_16 ' VolumeSnapshotDataSource=true' " alpha feature gates for Kubernetes 1.16"
319
325
# TODO: add new CSI_PROW_ALPHA_GATES_xxx entry for future Kubernetes releases and
320
326
# add new gates to CSI_PROW_E2E_ALPHA_GATES_LATEST.
321
- configvar CSI_PROW_E2E_ALPHA_GATES_LATEST ' VolumeSnapshotDataSource=true ' " alpha feature gates for latest Kubernetes"
327
+ configvar CSI_PROW_E2E_ALPHA_GATES_LATEST ' ' " alpha feature gates for latest Kubernetes"
322
328
configvar CSI_PROW_E2E_ALPHA_GATES " $( get_versioned_variable CSI_PROW_E2E_ALPHA_GATES " ${csi_prow_kubernetes_version_suffix} " ) " " alpha E2E feature gates"
323
329
324
330
# Which external-snapshotter tag to use for the snapshotter CRD and snapshot-controller deployment
@@ -1111,6 +1117,16 @@ main () {
1111
1117
warn " E2E parallel failed"
1112
1118
ret=1
1113
1119
fi
1120
+
1121
+ # Run tests that are feature tagged, but non-alpha
1122
+ # Ignore: Double quote to prevent globbing and word splitting.
1123
+ # shellcheck disable=SC2086
1124
+ if ! run_e2e parallel ${CSI_PROW_GINKO_PARALLEL} \
1125
+ -focus=" External.Storage.*($( regex_join " ${CSI_PROW_E2E_FOCUS} " ) )" \
1126
+ -skip=" $( regex_join " ${CSI_PROW_E2E_SERIAL} " ) " ; then
1127
+ warn " E2E parallel features failed"
1128
+ ret=1
1129
+ fi
1114
1130
fi
1115
1131
1116
1132
if tests_enabled " serial" ; then
0 commit comments