@@ -5,6 +5,8 @@ set -o errexit
5
5
6
6
readonly PKGDIR=${GOPATH} /src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
7
7
readonly deployment_strategy=${DEPLOYMENT_STRATEGY:- gce}
8
+ readonly gke_cluster_version=${GKE_CLUSTER_VERSION:- latest}
9
+ readonly kube_version=${KUBE_VERSION:- master}
8
10
9
11
source " ${PKGDIR} /deploy/common.sh"
10
12
@@ -17,7 +19,8 @@ make -C ${PKGDIR} test-k8s-integration
17
19
# --staging-image=${GCE_PD_CSI_STAGING_IMAGE} --service-account-file=${GCE_PD_SA_DIR}/cloud-sa.json \
18
20
# --deploy-overlay-name=dev --storageclass-file=sc-standard.yaml \
19
21
# --test-focus="External.Storage" --gce-zone="us-central1-b" \
20
- # --deployment-strategy=${deployment_strategy}
22
+ # --deployment-strategy=${deployment_strategy} --gke-cluster-version=${gke_cluster_version} \
23
+ # --kube-version=${kube_version}
21
24
22
25
# This version of the command does not build the driver or K8s, points to a
23
26
# local K8s repo to get the e2e.test binary, and does not bring up or down the cluster
@@ -26,4 +29,5 @@ ${PKGDIR}/bin/k8s-integration-test --kube-version=master --run-in-prow=false \
26
29
--staging-image=${GCE_PD_CSI_STAGING_IMAGE} --service-account-file=${GCE_PD_SA_DIR} /cloud-sa.json \
27
30
--deploy-overlay-name=dev --bringup-cluster=false --teardown-cluster=false --local-k8s-dir=$KTOP \
28
31
--storageclass-file=sc-standard.yaml --do-driver-build=true --test-focus=" External.Storage" \
29
- --gce-zone=" us-central1-b"
32
+ --gce-zone=" us-central1-b" --gke-cluster-version=${gke_cluster_version} \
33
+ --kube-version=${kube_version}
0 commit comments