Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit 362d5b5

Browse files
madalazaruniemimu
authored andcommitted
Version of Kind is passed through GA worklow's input params
Signed-off-by: Madalina Lazar <[email protected]>
1 parent 45d93aa commit 362d5b5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/scripts/e2e_get_tools.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
set -o errexit
33

44
root="$(dirname "$0")/../../"
5-
VERSION="v0.14.0"
5+
6+
VERSION=""
7+
[ -n "$1" ] && VERSION=$1
8+
if [ -z "$VERSION" ]; then
9+
echo "Kind version is required, but found $VERSION. Exiting..."
10+
exit 1
11+
fi
12+
613
KIND_BINARY_URL="https://github.com/kubernetes-sigs/kind/releases/download/${VERSION}/kind-$(uname)-amd64"
714
K8_STABLE_RELEASE_URL="https://storage.googleapis.com/kubernetes-release/release/stable.txt"
815

0 commit comments

Comments
 (0)