mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
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.
This commit is contained in:
parent
c9c4ada309
commit
427e34a325
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user