9
9
set -o nounset
10
10
set -o errexit
11
11
12
+ export GCE_PD_VERBOSITY=9
13
+
12
14
readonly PKGDIR=${GOPATH} /src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
15
+
13
16
readonly overlay_name=" ${GCE_PD_OVERLAY_NAME:- stable} "
14
17
readonly boskos_resource_type=" ${GCE_PD_BOSKOS_RESOURCE_TYPE:- gce-project} "
15
18
readonly do_driver_build=" ${GCE_PD_DO_DRIVER_BUILD:- true} "
16
- export GCE_PD_VERBOSITY=9
19
+ readonly deployment_strategy=${DEPLOYMENT_STRATEGY:- gce}
20
+ readonly kube_version=${GCE_PD_KUBE_VERSION:- master}
21
+ readonly test_version=${TEST_VERSION:- master}
22
+
17
23
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"
18
24
25
+
19
26
# TODO(#167): Enable reconstructions tests
20
27
# TODO: Enabled inline volume tests
21
28
# TODO: Fix and enable the following tests. They all exhibit the same testing infra error:
@@ -26,9 +33,9 @@ readonly GCE_PD_TEST_FOCUS="\s[V|v]olume\sexpand|\[sig-storage\]\sIn-tree\sVolum
26
33
# ("us-central1-b"), but disk name is empty"
27
34
28
35
make -C ${PKGDIR} test-k8s-integration
29
- ${PKGDIR} /bin/k8s-integration-test --kube-version=${GCE_PD_KUBE_VERSION :- master } \
36
+ ${PKGDIR} /bin/k8s-integration-test --kube-version=${kube_version } \
30
37
--kube-feature-gates=" CSIMigration=true,CSIMigrationGCE=true" --run-in-prow=true \
31
38
--deploy-overlay-name=${overlay_name} --service-account-file=${E2E_GOOGLE_APPLICATION_CREDENTIALS} \
32
39
--do-driver-build=${do_driver_build} --boskos-resource-type=${boskos_resource_type} \
33
40
--migration-test=true --test-focus=${GCE_PD_TEST_FOCUS} \
34
- --gce-zone=" us-central1-b"
41
+ --gce-zone=" us-central1-b" --deployment-strategy= ${deployment_strategy} --test-version= ${test_version}
0 commit comments