Skip to content

Commit

Permalink
force kind install to avoid github action cache
Browse files Browse the repository at this point in the history
mattfenwick committed May 23, 2021
1 parent 04953cb commit 61e00c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hack/kind/run-cyclonus.sh
Original file line number Diff line number Diff line change
@@ -8,10 +8,9 @@ CNI=${CNI:-calico}
CLUSTER_NAME="netpol-$CNI"
RUN_FROM_SOURCE=${RUN_FROM_SOURCE:-true}
FROM_SOURCE_ARGS=${FROM_SOURCE_ARGS:-"generate --include conflict --job-timeout-seconds 2"}
INSTALL_KIND=${INSTALL_KIND:-true}

# install kind if not found
if ! command -v kind &> /dev/null
then
if [[ $INSTALL_KIND == true ]]; then
curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/"${KIND_VERSION}"/kind-$(uname)-amd64
chmod +x ./kind
sudo mv kind /usr/local/bin

0 comments on commit 61e00c4

Please sign in to comment.