Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/centosci: Update kubectl download url #347

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/centosci/sink-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ install_binaries() {
install minikube /usr/local/sbin/minikube

# Download and install kubectl
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/"${KUBE_VERSION}"/bin/linux/"${MINIKUBE_ARCH}"/kubectl
curl -Lo kubectl https://dl.k8s.io/release/"${KUBE_VERSION}"/bin/linux/"${MINIKUBE_ARCH}"/kubectl
install kubectl /usr/local/sbin/kubectl
}

Expand Down Expand Up @@ -293,7 +293,7 @@ dnf -y install go

if [[ "${KUBE_VERSION}" == "latest" ]]; then
# update the version string from latest with the real version
KUBE_VERSION=$(curl -L https://storage.googleapis.com/kubernetes-release/release/stable.txt 2> /dev/null)
KUBE_VERSION=$(curl -L https://dl.k8s.io/release/stable.txt 2> /dev/null)
else
KUBE_VERSION=$(curl -L https://api.github.com/repos/kubernetes/kubernetes/releases | \
jq -r '.[].tag_name' | grep "${KUBE_VERSION}" | \
Expand Down
Loading