File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,8 +242,7 @@ envtest:
242242OPERATOR_SDK = $(shell pwd) /bin/operator-sdk
243243.PHONY : operator-sdk
244244operator-sdk :
245- # FIXME: Remove `go mod tidy && go mod vendor` once we find the reason why ci workflow fails.
246- cd ./tools && go mod tidy && go mod vendor && go build -o $(OPERATOR_SDK) ./vendor/$(shell grep operator-sdk tools/tools.go | sed 's/.*_ "//;s/"//')
245+ cd ./tools && go build -o $(OPERATOR_SDK ) ./vendor/$(shell grep operator-sdk tools/tools.go | sed 's/.* _ "//;s/"//')
247246
248247# protoc-gen-go gets installed from the vendor/ directory.
249248PROTOC_GEN_GO = $(shell pwd) /bin/protoc-gen-go
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ limitations under the License.
2222// other dependencies. It also makes things easier to install the tools in
2323// environments that have slow networking or are completely disconnected.
2424
25- package main
25+ package tools
2626
2727import (
2828 _ "github.com/operator-framework/operator-sdk/cmd/operator-sdk"
You can’t perform that action at this time.
0 commit comments