Commit da904058 authored by Dawn Chen's avatar Dawn Chen Committed by GitHub

Revert "e2e-runner.sh: don't overwrite readonly var"

parent afc4c96b
......@@ -34,12 +34,13 @@ function fetch_output_tars() {
}
function fetch_server_version_tars() {
local -r server_version="$(gcloud ${CMD_GROUP:-} container get-server-config --project=${PROJECT} --zone=${ZONE} --format='value(defaultClusterVersion)')"
local -r build_version="$(gcloud ${CMD_GROUP:-} container get-server-config --project=${PROJECT} --zone=${ZONE} --format='value(defaultClusterVersion)')"
# Use latest build of the server version's branch for test files.
fetch_published_version_tars "ci/latest-${server_version:0:3}"
fetch_published_version_tars "ci/latest-${build_version:0:3}"
# Unset cluster api version; we want to use server default for the cluster
# version.
unset CLUSTER_API_VERSION
unpack_binaries
}
# Use a published version like "ci/latest" (default), "release/latest",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment