Skip to content

Commit

Permalink
build: remove unneeded go mod tidy && go mod vendor
Browse files Browse the repository at this point in the history
There has been a bad proxy somewhere that caused issues downloading or
verfying the github.com/operator-framework/operator-sdk module. Things
have recovered now, so the extra tidy/vendor commands are not needed
anymore.

Closes: csi-addons#384
Signed-off-by: Niels de Vos <[email protected]>
  • Loading branch information
nixpanic committed Dec 12, 2023
1 parent d98d12b commit 4a1f9a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,7 @@ envtest:
OPERATOR_SDK = $(shell pwd)/bin/operator-sdk
.PHONY: operator-sdk
operator-sdk:
# FIXME: Remove `go mod tidy && go mod vendor` once we find the reason why ci workflow fails.
cd ./tools && go mod tidy && go mod vendor && go build -o $(OPERATOR_SDK) ./vendor/$(shell grep operator-sdk tools/tools.go | sed 's/.*_ "//;s/"//')
cd ./tools && go build -o $(OPERATOR_SDK) ./vendor/$(shell grep operator-sdk tools/tools.go | sed 's/.*_ "//;s/"//')

# protoc-gen-go gets installed from the vendor/ directory.
PROTOC_GEN_GO = $(shell pwd)/bin/protoc-gen-go
Expand Down

0 comments on commit 4a1f9a9

Please sign in to comment.