Commit 427e34a3 authored by Jeff Lowdermilk's avatar Jeff Lowdermilk

Use latest branch build for GKE tests.

Pull the latest build of the release the server is running, rather than matching exact version. This allows GKE to pick up test fixes from branch head, instead of waiting for a patch.
parent c9c4ada3
......@@ -34,8 +34,9 @@ function fetch_output_tars() {
}
function fetch_server_version_tars() {
local -r build_version="v$(gcloud ${CMD_GROUP:-} container get-server-config --project=${PROJECT} --zone=${ZONE} --format='value(defaultClusterVersion)')"
fetch_tars_from_gcs "release" "${build_version}"
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.
fetch_tars_from_gcs "release" "ci/latest-${build_version:0:3}"
unpack_binaries
}
......
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