test: Use GKE stable release channel to unblock presubmit tests. Fixes #9704. Part of #9706. (#9705)

* Use GKE stable release channel to unblock presubmit tests

* update TODO comment
This commit is contained in:
Chen Sun 2023-07-05 15:28:51 -07:00 committed by GitHub
parent 95901c8830
commit 7e89d05b19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -87,9 +87,8 @@ else
SCOPE_ARG="--scopes=storage-rw,cloud-platform"
fi
# Use regular release channel to keep up with newly created clusters in Google Cloud Marketplace.
# gcloud container clusters create ${TEST_CLUSTER} --release-channel regular ${SCOPE_ARG} ${NODE_POOL_CONFIG_ARG} ${WI_ARG}
# Temporarily use cos as image type until docker dependencies gets removed. reference: https://github.com/kubeflow/pipelines/issues/6696
gcloud container clusters create ${TEST_CLUSTER} --image-type cos_containerd --release-channel regular ${SCOPE_ARG} ${NODE_POOL_CONFIG_ARG} ${WI_ARG}
# TODO(#9706): Switch back to regular channel once we stop building test images via dind.
gcloud container clusters create ${TEST_CLUSTER} --release-channel stable ${SCOPE_ARG} ${NODE_POOL_CONFIG_ARG} ${WI_ARG}
fi
gcloud container clusters get-credentials ${TEST_CLUSTER}