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.
pull/6/head
Jeff Lowdermilk 2016-06-09 12:34:24 -07:00
parent c9c4ada309
commit 427e34a325
1 changed files with 3 additions and 2 deletions

View File

@ -34,8 +34,9 @@ function fetch_output_tars() {
} }
function fetch_server_version_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)')" local -r build_version="$(gcloud ${CMD_GROUP:-} container get-server-config --project=${PROJECT} --zone=${ZONE} --format='value(defaultClusterVersion)')"
fetch_tars_from_gcs "release" "${build_version}" # Use latest build of the server version's branch.
fetch_tars_from_gcs "release" "ci/latest-${build_version:0:3}"
unpack_binaries unpack_binaries
} }