File tree Expand file tree Collapse file tree 11 files changed +11
-11
lines changed
pkg/plugins/golang/v3/scaffolds/internal/templates
project-v3-addon-and-grafana
project-v3-with-deploy-image
project-v4-addon-and-grafana
project-v4-with-deploy-image Expand file tree Collapse file tree 11 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ vet: ## Run go vet against code.
115115
116116.PHONY: test
117117test: manifests generate fmt vet envtest ## Run tests.
118- KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test ./... -coverprofile cover.out
118+ KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) - p path)" go test ./... -coverprofile cover.out
119119
120120##@ Build
121121
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
5656
5757.PHONY : test
5858test : manifests generate fmt vet envtest # # Run tests.
59- KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) -p path) " go test ./... -coverprofile cover.out
59+ KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN ) - p path) " go test ./... -coverprofile cover.out
6060
6161# #@ Build
6262
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
5656
5757.PHONY : test
5858test : manifests generate fmt vet envtest # # Run tests.
59- KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) -p path) " go test ./... -coverprofile cover.out
59+ KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN ) - p path) " go test ./... -coverprofile cover.out
6060
6161# #@ Build
6262
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
5656
5757.PHONY : test
5858test : manifests generate fmt vet envtest # # Run tests.
59- KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) -p path) " go test ./... -coverprofile cover.out
59+ KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN ) - p path) " go test ./... -coverprofile cover.out
6060
6161# #@ Build
6262
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
5656
5757.PHONY : test
5858test : manifests generate fmt vet envtest # # Run tests.
59- KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) -p path) " go test ./... -coverprofile cover.out
59+ KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN ) - p path) " go test ./... -coverprofile cover.out
6060
6161# #@ Build
6262
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
5656
5757.PHONY : test
5858test : manifests generate fmt vet envtest # # Run tests.
59- KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) -p path) " go test ./... -coverprofile cover.out
59+ KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN ) - p path) " go test ./... -coverprofile cover.out
6060
6161# #@ Build
6262
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
5656
5757.PHONY : test
5858test : manifests generate fmt vet envtest # # Run tests.
59- KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) -p path) " go test ./... -coverprofile cover.out
59+ KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN ) - p path) " go test ./... -coverprofile cover.out
6060
6161# #@ Build
6262
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
5656
5757.PHONY : test
5858test : manifests generate fmt vet envtest # # Run tests.
59- KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) -p path) " go test ./... -coverprofile cover.out
59+ KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN ) - p path) " go test ./... -coverprofile cover.out
6060
6161# #@ Build
6262
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
5656
5757.PHONY : test
5858test : manifests generate fmt vet envtest # # Run tests.
59- KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) -p path) " go test ./... -coverprofile cover.out
59+ KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN ) - p path) " go test ./... -coverprofile cover.out
6060
6161# #@ Build
6262
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
5656
5757.PHONY : test
5858test : manifests generate fmt vet envtest # # Run tests.
59- KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) -p path) " go test ./... -coverprofile cover.out
59+ KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN ) - p path) " go test ./... -coverprofile cover.out
6060
6161# #@ Build
6262
You can’t perform that action at this time.
0 commit comments