We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/kind bug
/area registry
Operating System and version: RHEL 8.8
Go Pkg Version: 1.19
Describe the bug:
The main.go source paths under manager and run makefile rules are incorrect:
main.go
manager
run
As a result, the local build of the registry operator fails.
To Reproduce:
Run make manager.
make manager
Local build should successfully run and create a executable binary bin/manager.
bin/manager
test -s /home/mvaldron/source/repos/michael-valdron/devfile-registry-operator/bin/controller-gen && /home/mvaldron/source/repos/michael-valdron/devfile-registry-operator/bin/controller-gen --version | grep -q v0.9.2 || \ GOBIN=/home/mvaldron/source/repos/michael-valdron/devfile-registry-operator/bin GOFLAGS="" go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.9.2 /home/mvaldron/source/repos/michael-valdron/devfile-registry-operator/bin/controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases /home/mvaldron/source/repos/michael-valdron/devfile-registry-operator/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..." go fmt ./... go vet ./... go build -o /home/mvaldron/source/repos/michael-valdron/devfile-registry-operator/bin/manager ./cmd/main.go stat /home/mvaldron/source/repos/michael-valdron/devfile-registry-operator/cmd/main.go: directory not found make: *** [Makefile:122: manager] Error 1
N/A
go build -o $(LOCALBIN)/manager ./main.go
$(LOCALBIN)/manager
The text was updated successfully, but these errors were encountered:
PR ready for review: devfile/registry-operator#58
Sorry, something went wrong.
michael-valdron
Successfully merging a pull request may close this issue.
Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area registry
What versions of software are you using?
Go project
Operating System and version: RHEL 8.8
Go Pkg Version: 1.19
Bug Summary
Describe the bug:
The
main.go
source paths undermanager
andrun
makefile rules are incorrect:As a result, the local build of the registry operator fails.
To Reproduce:
Run
make manager
.Expected behavior
Local build should successfully run and create a executable binary
bin/manager
.Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Additional context
Any workaround?
N/A
Suggestion on how to fix the bug
go build -o $(LOCALBIN)/manager ./main.go
$(LOCALBIN)/manager
The text was updated successfully, but these errors were encountered: