You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add docs.go and interface docs
* Remove pkg/metadata/finalizer.go changes and create a separate PR kubernetes-sigs#625
* nits and adding comments
* move envtest makefile changes to kubernetes-sigs#636
* removing labeller changes and moving them to kubernetes-sigs#631
* Fix regression when removing labeller changes:
`dynamic-controller Error syncing item, requeuing with rate limit {"item": {"NamespacedKey":"chainsaw-special-quail/test-instance","GVR":{"Group":"kro.run","Version":"v1alpha1","Resource":"checkinstancecreationsimpledeployments"}}, "error": "failed to setup instance: failed to set finalizer: error getting finalizers: .metadata.finalizers accessor error: [] is of the type []string, expected []interface{}"}`
Copy file name to clipboardExpand all lines: Makefile
+2-9Lines changed: 2 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -94,9 +94,9 @@ vet: ## Run go vet against code.
94
94
go vet ./...
95
95
96
96
.PHONY: test
97
-
test: manifests generate fmt vet envtest ## Run tests. Use WHAT=unit or WHAT=integration
97
+
test: manifests generate fmt vet ## Run tests. Use WHAT=unit or WHAT=integration
98
98
ifeq ($(WHAT),integration)
99
-
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_VERSION) --bin-dir $(LOCALBIN) -p path)" go test -v ./test/integration/suites/... -coverprofile integration-cover.out
99
+
go test -v ./test/integration/suites/... -coverprofile integration-cover.out
100
100
else ifeq ($(WHAT),unit)
101
101
go test -v ./pkg/... -coverprofile unit-cover.out
102
102
else
@@ -190,7 +190,6 @@ $(CHAINSAW): $(LOCALBIN)
190
190
fi
191
191
test -s $(LOCALBIN)/chainsaw || GOBIN=$(LOCALBIN) GO111MODULE=on go install github.com/kyverno/chainsaw@$(CHAINSAW_VERSION)
192
192
193
-
ENVTEST_VERSION ?= 1.31.x
194
193
195
194
.PHONY: ko
196
195
ko: $(KO)## Download ko locally if necessary. If wrong version is installed, it will be removed before downloading.
0 commit comments