mirror of https://github.com/kubernetes/kops.git
Merge pull request #12778 from justinsb/e2e_full_kops_base_url
e2e tests: recognize a full KOPS_BASE_URL as a KOPS_VERSION
This commit is contained in:
commit
3fd0449509
|
@ -90,7 +90,9 @@ function kops-download-from-base() {
|
|||
}
|
||||
|
||||
function kops-base-from-marker() {
|
||||
if [[ "${1}" == "latest" ]]; then
|
||||
if [[ "${1}" =~ ^https: ]]; then
|
||||
echo "${1}"
|
||||
elif [[ "${1}" == "latest" ]]; then
|
||||
curl -s "https://storage.googleapis.com/kops-ci/bin/latest-ci-updown-green.txt"
|
||||
else
|
||||
curl -s "https://storage.googleapis.com/k8s-staging-kops/kops/releases/markers/release-${1}/latest-ci.txt"
|
||||
|
|
Loading…
Reference in New Issue