Skip to content

Commit

Permalink
Merge pull request kubernetes-csi#109 from pohly/alpha-test-defaults
Browse files Browse the repository at this point in the history
prow.sh: only run alpha tests for latest Kubernetes release
  • Loading branch information
k8s-ci-robot committed Oct 27, 2020
2 parents 0427289 + 522361e commit 4aff857
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion prow.sh
Expand Up @@ -248,11 +248,16 @@ configvar CSI_PROW_DEP_VERSION v0.5.1 "golang dep version to be used for vendor
#
# Unknown or unsupported entries are ignored.
#
# Testing of alpha features is only supported for CSI_PROW_KUBERNETES_VERSION=latest
# because CSI_PROW_E2E_ALPHA and CSI_PROW_E2E_ALPHA_GATES are not set for
# older Kubernetes releases. The script supports that, it just isn't done because
# it is not needed and would cause additional maintenance effort.
#
# Sanity testing with csi-sanity only covers the CSI driver itself and
# thus only makes sense in repos which provide their own CSI
# driver. Repos can enable sanity testing by setting
# CSI_PROW_TESTS_SANITY=sanity.
configvar CSI_PROW_TESTS "unit parallel serial parallel-alpha serial-alpha sanity" "tests to run"
configvar CSI_PROW_TESTS "unit parallel serial $(if [ "${CSI_PROW_KUBERNETES_VERSION}" = "latest" ]; then echo parallel-alpha serial-alpha; fi) sanity" "tests to run"
tests_enabled () {
local t1 t2
# We want word-splitting here, so ignore: Quote to prevent word splitting, or split robustly with mapfile or read -a.
Expand Down

0 comments on commit 4aff857

Please sign in to comment.