From b1e11dc70f675600238796c41825c5d6427c3642 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 4 Jan 2024 16:18:44 +0100 Subject: [PATCH] Revert "build: remove unneeded `go mod tidy` && `go mod vendor`" This reverts commit 0bf43f4743c7e6c10bd21d9a0fdb60996712da7c. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d1ce6b582..4c99d4cb2 100644 --- a/Makefile +++ b/Makefile @@ -248,7 +248,8 @@ envtest: OPERATOR_SDK = $(shell pwd)/bin/operator-sdk .PHONY: operator-sdk operator-sdk: - cd ./tools && go build -o $(OPERATOR_SDK) ./vendor/$(shell grep operator-sdk tools/tools.go | sed 's/.*_ "//;s/"//') +# 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/"//') # protoc-gen-go gets installed from the vendor/ directory. PROTOC_GEN_GO = $(shell pwd)/bin/protoc-gen-go