diff --git a/prow.sh b/prow.sh index d6333b05..b0e36600 100755 --- a/prow.sh +++ b/prow.sh @@ -359,6 +359,10 @@ configvar CSI_PROW_E2E_ALPHA_GATES "$(get_versioned_variable CSI_PROW_E2E_ALPHA_ configvar CSI_PROW_E2E_GATES_LATEST '' "non alpha feature gates for latest Kubernetes" configvar CSI_PROW_E2E_GATES "$(get_versioned_variable CSI_PROW_E2E_GATES "${csi_prow_kubernetes_version_suffix}")" "non alpha E2E feature gates" +# Focus for local tests run in the sidecar E2E repo. Only used if CSI_PROW_SIDECAR_E2E_IMPORT_PATH +# is not set to "none". If empty, all tests in the sidecar repo will be run. +configvar CSI_PROW_SIDECAR_E2E_FOCUS '' "tags for local E2E tests" + # Which external-snapshotter tag to use for the snapshotter CRD and snapshot-controller deployment default_csi_snapshotter_version () { if [ "${CSI_PROW_KUBERNETES_VERSION}" = "latest" ] || [ "${CSI_PROW_DRIVER_CANARY}" = "canary" ]; then @@ -1328,8 +1332,8 @@ main () { if sidecar_tests_enabled; then if ! run_e2e local \ - -focus="some regex"; then - warn "Local e2e tests failed" + -focus="${CSI_PROW_SIDECAR_E2E_FOCUS}"; then + warn "E2E sidecar failed" ret=1 fi fi