Skip to content

Commit 6f91784

Browse files
authored
Merge pull request #450 from davidz627/feature/ubuntuTest
Add image type env var option for k8s integration script
2 parents 4507b95 + da87c19 commit 6f91784

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/run-k8s-integration.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ readonly kube_version=${GCE_PD_KUBE_VERSION:-master}
1919
readonly test_version=${TEST_VERSION:-master}
2020
readonly gce_zone=${GCE_CLUSTER_ZONE:-us-central1-b}
2121
readonly gce_region=${GCE_CLUSTER_REGION:-}
22+
readonly image_type=${IMAGE_TYPE:-cos}
2223

2324
export GCE_PD_VERBOSITY=9
2425

@@ -28,7 +29,8 @@ base_cmd="${PKGDIR}/bin/k8s-integration-test \
2829
--run-in-prow=true --deploy-overlay-name=${overlay_name} --service-account-file=${E2E_GOOGLE_APPLICATION_CREDENTIALS} \
2930
--do-driver-build=${do_driver_build} --boskos-resource-type=${boskos_resource_type} \
3031
--storageclass-file=sc-standard.yaml --test-focus="External.Storage" \
31-
--deployment-strategy=${deployment_strategy} --test-version=${test_version} --num-nodes=3"
32+
--deployment-strategy=${deployment_strategy} --test-version=${test_version} --num-nodes=3 \
33+
--image-type=${image_type}"
3234

3335
if [ "$deployment_strategy" = "gke" ]; then
3436
base_cmd="${base_cmd} --gke-cluster-version=${gke_cluster_version}"

0 commit comments

Comments
 (0)