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

use /hack/e2e.sh to run a single node kind cluster for develop #1749

Merged
merged 12 commits into from
Feb 25, 2020
2 changes: 2 additions & 0 deletions hack/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ function hack::ensure_helm() {
fi
local HELM_URL=http://storage.googleapis.com/kubernetes-helm/helm-v${HELM_VERSION}-${OS}-${ARCH}.tar.gz
curl --retry 10 -L -s "$HELM_URL" | tar --strip-components 1 -C $OUTPUT_BIN -zxf - ${OS}-${ARCH}/helm
ln -s $OUTPUT_BIN/helm /usr/local/bin/helm
weekface marked this conversation as resolved.
Show resolved Hide resolved
}

function hack::verify_kind() {
Expand All @@ -123,6 +124,7 @@ function hack::ensure_kind() {
curl --retry 10 -L -o $tmpfile https://github.com/kubernetes-sigs/kind/releases/download/v${KIND_VERSION}/kind-$(uname)-amd64
mv $tmpfile $KIND_BIN
chmod +x $KIND_BIN
ln -s $KIND_BIN /usr/local/bin/kind
weekface marked this conversation as resolved.
Show resolved Hide resolved
}

# hack::version_ge "$v1" "$v2" checks whether "v1" is greater or equal to "v2"
Expand Down