mirror of https://github.com/k3s-io/k3s
Merge pull request #27144 from jlowdermilk/gke-branch-tests
Use latest branch build for GKE tests.pull/6/head
commit
09a35325de
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue