@@ -4,6 +4,7 @@ set -o nounset
4
4
set -o errexit
5
5
6
6
readonly PKGDIR=${GOPATH} /src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
7
+ readonly GCE_PD_TEST_FOCUS=" \s[V|v]olume\sexpand|\[sig-storage\]\sIn-tree\sVolumes\s\[Driver:\sgcepd\]\s\[Testpattern:\sDynamic\sPV|allowedTopologies|Pod\sDisks|PersistentVolumes\sDefault"
7
8
source " ${PKGDIR} /deploy/common.sh"
8
9
9
10
ensure_var GCE_PD_CSI_STAGING_IMAGE
@@ -12,7 +13,7 @@ ensure_var GCE_PD_SA_DIR
12
13
make -C ${PKGDIR} test-k8s-integration
13
14
${PKGDIR} /bin/k8s-integration-test --kube-version=master --run-in-prow=false \
14
15
--staging-image=${GCE_PD_CSI_STAGING_IMAGE} --service-account-file=${GCE_PD_SA_DIR} /cloud-sa.json \
15
- --deploy-overlay-name=dev --test-focus=" \[sig-storage\]\sIn-tree\sVolumes\s\[Driver:\sgcepd\].* " \
16
+ --deploy-overlay-name=dev --test-focus=${GCE_PD_TEST_FOCUS} \
16
17
--kube-feature-gates=" CSIMigration=true,CSIMigrationGCE=true" --migration-test=true --gce-zone=" us-central1-b"
17
18
18
19
# This version of the command does not build the driver or K8s, points to a
@@ -21,6 +22,6 @@ ${PKGDIR}/bin/k8s-integration-test --kube-version=master --run-in-prow=false \
21
22
# ensure_var GCE_PD_ZONE
22
23
# ${PKGDIR}/bin/k8s-integration-test --kube-version=master --run-in-prow=false \
23
24
# --staging-image=${GCE_PD_CSI_STAGING_IMAGE} --service-account-file=${GCE_PD_SA_DIR}/cloud-sa.json \
24
- # --deploy-overlay-name=dev --test-focus="\[sig-storage\]\sIn-tree\sVolumes\s\[Driver:\sgcepd\].*" \
25
+ # --deploy-overlay-name=dev --test-focus=${GCE_PD_TEST_FOCUS} \
25
26
# --bringup-cluster=false --teardown-cluster=false --local-k8s-dir=$KTOP --migration-test=true \
26
- # --do-driver-build=false --gce-zone=${GCE_PD_ZONE}
27
+ # --do-driver-build=true --gce-zone=${GCE_PD_ZONE}
0 commit comments