-
Notifications
You must be signed in to change notification settings - Fork 565
🌱 Bump github.com/operator-framework/api from 0.34.0 to 0.35.0 #3670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌱 Bump github.com/operator-framework/api from 0.34.0 to 0.35.0 #3670
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: perdasilva The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
module_pkg=$(GO111MODULE="${GO111MODULE:-on}" GOWORK="${GOWORK:-off}" GOFLAGS="${GOFLAGS:-}" go list "$pkg_path") | ||
|
||
GO111MODULE="${GO111MODULE:-on}" GOWORK="${GOWORK:-off}" GOFLAGS="${GOFLAGS:-}" \ | ||
go run github.com/maxbrunsfeld/counterfeiter/v6 -o "$out" "${module_pkg}.${type_name}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to address to fix:
Generate mocks and silence the followign warning:
WARNING: Invoking counterfeiter multiple times from "go generate" is slow.
Consider using counterfeiter:generate directives to speed things up.
See https://github.com/maxbrunsfeld/counterfeiter#step-2b---add-counterfeitergenerate-directives for more information.
Set the "COUNTERFEITER_NO_GENERATE_WARNING" environment variable to suppress this message.
COUNTERFEITER_NO_GENERATE_WARNING=1 go generate ./pkg/...
github.com/maxbrunsfeld/counterfeiter/v6/generator
../../../vendor/github.com/maxbrunsfeld/counterfeiter/v6/generator/import.go:45:17: undefined: imports.VendorlessPath
../../../vendor/github.com/maxbrunsfeld/counterfeiter/v6/generator/import.go:75:29: undefined: imports.VendorlessPath
../../../vendor/github.com/maxbrunsfeld/counterfeiter/v6/generator/loader.go:125:28: undefined: imports.VendorlessPath
pkg/api/wrappers/deployment_install_client.go:1: running "go": exit status 1
return ipath[len("vendor/"):] | ||
} | ||
return ipath | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to address to fix:
Generate mocks and silence the followign warning:
WARNING: Invoking counterfeiter multiple times from "go generate" is slow.
Consider using counterfeiter:generate directives to speed things up.
See https://github.com/maxbrunsfeld/counterfeiter#step-2b---add-counterfeitergenerate-directives for more information.
Set the "COUNTERFEITER_NO_GENERATE_WARNING" environment variable to suppress this message.
COUNTERFEITER_NO_GENERATE_WARNING=1 go generate ./pkg/...
github.com/maxbrunsfeld/counterfeiter/v6/generator
../../../vendor/github.com/maxbrunsfeld/counterfeiter/v6/generator/import.go:45:17: undefined: imports.VendorlessPath
../../../vendor/github.com/maxbrunsfeld/counterfeiter/v6/generator/import.go:75:29: undefined: imports.VendorlessPath
../../../vendor/github.com/maxbrunsfeld/counterfeiter/v6/generator/loader.go:125:28: undefined: imports.VendorlessPath
pkg/api/wrappers/deployment_install_client.go:1: running "go": exit status 1
3a6fecc
into
operator-framework:master
overlay_file=$$(mktemp "$(CURDIR)/hack/overlays/goimports_overlay.XXXXXX.json"); \ | ||
trap 'rm -f "$$overlay_file"' EXIT; \ | ||
printf '{\n "Replace": {\n "%s/vendor/golang.org/x/tools/imports/vendorlesspath.go": "%s/hack/overlays/goimports_vendorlesspath.go"\n }\n}\n' "$(CURDIR)" "$(CURDIR)" > "$$overlay_file"; \ | ||
GO111MODULE=on GOWORK=off COUNTERFEITER_NO_GENERATE_WARNING=1 GOFLAGS="$$GOFLAGS -overlay=$$overlay_file" go generate ./pkg/... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to address to fix:
Generate mocks and silence the followign warning:
WARNING: Invoking counterfeiter multiple times from "go generate" is slow.
Consider using counterfeiter:generate directives to speed things up.
See https://github.com/maxbrunsfeld/counterfeiter#step-2b---add-counterfeitergenerate-directives for more information.
Set the "COUNTERFEITER_NO_GENERATE_WARNING" environment variable to suppress this message.
COUNTERFEITER_NO_GENERATE_WARNING=1 go generate ./pkg/...
github.com/maxbrunsfeld/counterfeiter/v6/generator
../../../vendor/github.com/maxbrunsfeld/counterfeiter/v6/generator/import.go:45:17: undefined: imports.VendorlessPath
../../../vendor/github.com/maxbrunsfeld/counterfeiter/v6/generator/import.go:75:29: undefined: imports.VendorlessPath
../../../vendor/github.com/maxbrunsfeld/counterfeiter/v6/generator/loader.go:125:28: undefined: imports.VendorlessPath
pkg/api/wrappers/deployment_install_client.go:1: running "go": exit status 1
Closes: #3666