File tree 3 files changed +2
-5
lines changed
3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,7 @@ envtest:
242
242
OPERATOR_SDK = $(shell pwd) /bin/operator-sdk
243
243
.PHONY : operator-sdk
244
244
operator-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 && GOBIN=$$(cd .. && pwd ) /bin go install github.com/operator-framework/operator-sdk/cmd/operator-sdk
247
246
248
247
# protoc-gen-go gets installed from the vendor/ directory.
249
248
PROTOC_GEN_GO = $(shell pwd) /bin/protoc-gen-go
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ module github.com/csi-addons/kubernetes-csi-addons/tools
2
2
3
3
go 1.23.0
4
4
5
- toolchain go1.24.1
6
-
7
5
require (
8
6
github.com/operator-framework/operator-sdk v1.38.0
9
7
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ limitations under the License.
22
22
// other dependencies. It also makes things easier to install the tools in
23
23
// environments that have slow networking or are completely disconnected.
24
24
25
- package main
25
+ package tools
26
26
27
27
import (
28
28
_ "github.com/operator-framework/operator-sdk/cmd/operator-sdk"
You can’t perform that action at this time.
0 commit comments