mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #6177 from zmerlynn/latest_release_on_test
Allow gke-test to run on latest release version
This commit is contained in:
commit
600cc76709
@ -95,6 +95,9 @@ cd kubernetes
|
|||||||
# Set by GKE-CI to change the CLUSTER_API_VERSION to the git version
|
# Set by GKE-CI to change the CLUSTER_API_VERSION to the git version
|
||||||
if [[ ! -z ${E2E_SET_CLUSTER_API_VERSION:-} ]]; then
|
if [[ ! -z ${E2E_SET_CLUSTER_API_VERSION:-} ]]; then
|
||||||
export CLUSTER_API_VERSION=$(echo ${GITHASH} | cut -c 2-)
|
export CLUSTER_API_VERSION=$(echo ${GITHASH} | cut -c 2-)
|
||||||
|
elif [[ ! -z ${E2E_USE_LATEST_RELEASE_VERSION:-} ]]; then
|
||||||
|
release=$(gsutil cat gs://kubernetes-release/release/latest.txt)
|
||||||
|
export CLUSTER_API_VERSION=${release}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Have cmd/e2e run by goe2e.sh generate JUnit report in ${WORKSPACE}/junit*.xml
|
# Have cmd/e2e run by goe2e.sh generate JUnit report in ${WORKSPACE}/junit*.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user