Skip to content

Commit

Permalink
Use latest branch build for GKE tests.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
j3ffml committed Jun 9, 2016
1 parent c9c4ada commit 427e34a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hack/jenkins/e2e-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 427e34a

Please sign in to comment.