Skip to content

Conversation

camilamacedo86
Copy link
Contributor

@camilamacedo86 camilamacedo86 commented Oct 9, 2025

Closes: #3666

@camilamacedo86 camilamacedo86 changed the title Bump github.com/operator-framework/api from 0.34.0 to 0.35.0 🌱 Bump github.com/operator-framework/api from 0.34.0 to 0.35.0 Oct 9, 2025
@openshift-ci openshift-ci bot requested review from anik120 and dtfranz October 9, 2025 15:27
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 9, 2025
Copy link

openshift-ci bot commented Oct 9, 2025

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 9, 2025
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}"
Copy link
Contributor Author

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
}
Copy link
Contributor Author

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

@openshift-merge-bot openshift-merge-bot bot merged commit 3a6fecc into operator-framework:master Oct 9, 2025
14 checks passed
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/...
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants