install kind with other tools

This commit is contained in:
Sergey Dudoladov
2020-08-20 16:43:56 +02:00
parent f0cdd8999a
commit e361ee83c5
4 changed files with 41 additions and 30 deletions
+3 -7
View File
@@ -23,7 +23,6 @@ ifndef GOPATH
GOPATH := $(HOME)/go
endif
KIND_PATH := $(GOPATH)/bin
PATH := $(GOPATH)/bin:$(PATH)
default: tools
@@ -41,12 +40,9 @@ docker: copy
push: docker
docker push "$(IMAGE):$(TAG)"
tools: docker
tools:
# install pinned version of 'kind'
# leave the name as is to avoid overwriting official binary named `kind`
wget https://github.com/kubernetes-sigs/kind/releases/download/v0.5.1/kind-linux-amd64
chmod +x kind-linux-amd64
mv kind-linux-amd64 $(KIND_PATH)
GO111MODULE=on go get sigs.k8s.io/kind@v0.5.1
e2etest:
e2etest: docker
./run.sh