ci: update path for kubernetes-test-linux

updating the path for
kubernetes-test-linux-amd64.tar.gz as
we are no longer able to pull the file
to the official supported one as mentioned
in kubernetes doc.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2024-09-12 11:27:06 +02:00 committed by mergify[bot]
parent 87b9543791
commit 364bbb2f2e

View File

@ -11,7 +11,7 @@ set -e
[ -n "${KUBE_VERSION}" ] || { echo "KUBE_VERSION not set" ; exit 1 ; } [ -n "${KUBE_VERSION}" ] || { echo "KUBE_VERSION not set" ; exit 1 ; }
# download and extract the tests # download and extract the tests
curl -LO "https://storage.googleapis.com/kubernetes-release/release/${KUBE_VERSION}/kubernetes-test-linux-amd64.tar.gz" curl -LO "https://dl.k8s.io/${KUBE_VERSION}/kubernetes-test-linux-amd64.tar.gz"
tar xzf kubernetes-test-linux-amd64.tar.gz kubernetes/test/bin/ginkgo kubernetes/test/bin/e2e.test tar xzf kubernetes-test-linux-amd64.tar.gz kubernetes/test/bin/ginkgo kubernetes/test/bin/e2e.test
# e2e depends on a self-contained KUBECONFIG for some reason # e2e depends on a self-contained KUBECONFIG for some reason