tools: move tools.go to its own directory tools/#382
Conversation
|
locally it seems to be working fine, We'll be able to upgrade a lot csiaddons dependencies if we separate operator-sdk out. @nixpanic any idea why this maybe failing in workflow? |
When checking, I noticed this: After deleting |
| .PHONY: operator-sdk | ||
| operator-sdk: | ||
| go build -o $(OPERATOR_SDK) ./vendor/$(shell grep operator-sdk tools.go | sed 's/.*_ "//;s/"//') | ||
| cd ./tools && go build -o $(OPERATOR_SDK) ./vendor/$(shell grep operator-sdk tools/tools.go | sed 's/.*_ "//;s/"//') -mod=mod |
Tried the same thing, But there's still same failure. https://github.com/csi-addons/kubernetes-csi-addons/actions/runs/5356030502/jobs/9715035090?pr=382 @nixpanic Can you please run pull this pr, run those changes and force push ? |
|
Maybe one file under |
|
Thanks ! But it still fails with same error 😩 |
2b08f6b to
a369b39
Compare
| # 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/"//') |
There was a problem hiding this comment.
Added this to make ci happy .
opened new issue for this #384
|
@Mergifyio queue |
✅ The pull request has been merged automaticallyDetailsThe pull request has been merged automatically at 342d457 |
tools.go is moved to another module tools to separate all dependencies used for build from main go.mod. Signed-off-by: Rakshith R <rar@redhat.com>
tools.go is moved to another module tools to
separate all dependencies used for build from
main go.mod.