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.
115
115
116
116
.PHONY: test
117
117
test: 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
119
119
120
120
##@ Build
121
121
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
56
56
57
57
.PHONY : test
58
58
test : 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
60
60
61
61
# #@ Build
62
62
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
56
56
57
57
.PHONY : test
58
58
test : 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
60
60
61
61
# #@ Build
62
62
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
56
56
57
57
.PHONY : test
58
58
test : 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
60
60
61
61
# #@ Build
62
62
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
56
56
57
57
.PHONY : test
58
58
test : 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
60
60
61
61
# #@ Build
62
62
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
56
56
57
57
.PHONY : test
58
58
test : 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
60
60
61
61
# #@ Build
62
62
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
56
56
57
57
.PHONY : test
58
58
test : 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
60
60
61
61
# #@ Build
62
62
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
56
56
57
57
.PHONY : test
58
58
test : 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
60
60
61
61
# #@ Build
62
62
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
56
56
57
57
.PHONY : test
58
58
test : 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
60
60
61
61
# #@ Build
62
62
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
56
56
57
57
.PHONY : test
58
58
test : 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
60
60
61
61
# #@ Build
62
62
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ vet: ## Run go vet against code.
56
56
57
57
.PHONY : test
58
58
test : 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
60
60
61
61
# #@ Build
62
62
You can’t perform that action at this time.
0 commit comments