From 5f162dbc30555dae0ba92a1ff72f77a6c92a0983 Mon Sep 17 00:00:00 2001 From: Hilmar Falkenberg Date: Tue, 25 Jun 2024 13:26:02 +0200 Subject: [PATCH] cleanup unused (#828) #### What this PR does / why we need it: #### Which issue(s) this PR fixes: --- hack/Makefile | 1 - hack/install-requirements.sh | 21 --------------------- 2 files changed, 22 deletions(-) delete mode 100755 hack/install-requirements.sh diff --git a/hack/Makefile b/hack/Makefile index a9ed4affbd..b412e76c91 100644 --- a/hack/Makefile +++ b/hack/Makefile @@ -66,7 +66,6 @@ endif .PHONY: install-requirements install-requirements: $(deps) $(GOPATH)/bin/goimports mdref -# @$(REPO_ROOT)/hack/install-requirements.sh .PHONY: gci gci: diff --git a/hack/install-requirements.sh b/hack/install-requirements.sh deleted file mode 100755 index ca584ae39e..0000000000 --- a/hack/install-requirements.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -e - -CURRENT_DIR=$(dirname $0) -PROJECT_ROOT="${CURRENT_DIR}"/.. - -echo "> Install Go packages/binaries" - -curl -sfL "https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh" | sh -s -- -b $(go env GOPATH)/bin v1.54.2 - -GO111MODULE=off go get -u github.com/go-bindata/go-bindata/... - -go install github.com/go-bindata/go-bindata/v3/go-bindata@v3.1.3 -go install golang.org/x/tools/cmd/goimports@latest -go install github.com/daixiang0/gci@v0.7.0 -go install github.com/mandelsoft/mdref@latest - -echo "> Install Registry test binaries" - -mkdir -p ${PROJECT_ROOT}/tmp/test/bin -curl -L "https://storage.googleapis.com/gardener-public/test/oci-registry/registry-$(go env GOOS)-$(go env GOARCH)" --output ${PROJECT_ROOT}/tmp/test/bin/registry -chmod +x ${PROJECT_ROOT}/tmp/test/bin/registry