-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update controller-gen, fix
make test
(#581)
`make test` was panicking locally with controller-gen v0.9.2. This updates controller-gen to v0.15, regenerates CRDs, and fixes a few other things to get `make test` runnable locally.
- Loading branch information
Showing
14 changed files
with
911 additions
and
585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ install-crds: | |
codegen: install-controller-gen install-crdoc generate-k8s generate-crds generate-crdocs | ||
|
||
install-controller-gen: | ||
@echo "Installing controller-gen to GOPATH/bin"; pushd /tmp >& /dev/null && go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.9.2 ; popd >& /dev/null | ||
@echo "Installing controller-gen to GOPATH/bin"; pushd /tmp >& /dev/null && go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.15.0 ; popd >& /dev/null | ||
|
||
install-crdoc: | ||
@echo "Installing crdoc to go GOPATH/bin"; pushd /tmp >& /dev/null && go install fybrik.io/[email protected]; popd >& /dev/null | ||
|
@@ -48,7 +48,7 @@ push-image: | |
|
||
test: codegen download-test-deps | ||
KUBEBUILDER_ASSETS="$(shell setup-envtest --use-env use -p path)" \ | ||
ginkgo -nodes=${TEST_NODES} --randomize-all ./test/... | ||
go run github.com/onsi/ginkgo/v2/ginkgo -nodes=${TEST_NODES} --randomize-all -v ./... | ||
|
||
deploy: | ||
kubectl apply -f deploy/yaml/service_account.yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.