From 80648321f8ee5e16dd88f47c4cfe63c77a27c19b Mon Sep 17 00:00:00 2001 From: Ashley Davis Date: Wed, 5 Jan 2022 15:26:10 +0000 Subject: [PATCH] add install for ginkgo, used for e2e tests Signed-off-by: Ashley Davis --- make/tools.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/make/tools.mk b/make/tools.mk index 67d83e330..2239f4412 100644 --- a/make/tools.mk +++ b/make/tools.mk @@ -14,6 +14,7 @@ HELM_VERSION=3.6.3 KUBECTL_VERSION=1.22.1 KIND_VERSION=0.11.1 COSIGN_VERSION=1.3.1 +GINKGO_VERSION=v1.16.5 CMREL_VERSION=a1e2bad95be9688794fd0571c4c40e88cccf9173 K8S_RELEASE_NOTES_VERSION=0.7.0 GOIMPORTS_VERSION=0.1.8 @@ -27,7 +28,7 @@ bin/scratch/tools: @mkdir -p $@ .PHONY: tools -tools: bin/tools/helm bin/tools/kubectl bin/tools/kind bin/tools/cosign bin/tools/cmrel bin/tools/release-notes bin/tools/goimports bin/tools/ytt bin/tools/yq +tools: bin/tools/helm bin/tools/kubectl bin/tools/kind bin/tools/cosign bin/tools/ginkgo bin/tools/cmrel bin/tools/release-notes bin/tools/goimports bin/tools/ytt bin/tools/yq ######## # Helm # @@ -96,6 +97,13 @@ bin/tools/cosign: bin/scratch/tools/cosign_$(COSIGN_VERSION)_$(HOST_OS)_$(HOST_A bin/scratch/tools/cosign_$(COSIGN_VERSION)_$(HOST_OS)_$(HOST_ARCH): | bin/scratch/tools curl -sSfL https://github.com/sigstore/cosign/releases/download/v$(COSIGN_VERSION)/cosign-$(HOST_OS)-$(HOST_ARCH) > $@ +########## +# ginkgo # +########## + +bin/tools/ginkgo: | bin/tools + GOBIN=$(shell pwd)/$(dir $@) go install github.com/onsi/ginkgo/ginkgo@$(GINKGO_VERSION) + ######### # cmrel # #########