Skip to content

Commit ec30969

Browse files
committed
Drop obsolete kyverno tests and CLI
1 parent bb72543 commit ec30969

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ test: ## Run unit tests.
8282
test-integration: $(SETUP_ENVTEST) ## Run integration tests.
8383
./hack/test-integration.sh ./test/integration/...
8484

85-
.PHONY: test-kyverno
86-
test-kyverno: $(KYVERNO) ## Run kyverno policy tests.
87-
$(KYVERNO) test --remove-color -v 4 .
88-
8985
.PHONY: test-e2e
9086
test-e2e: $(GINKGO) ## Run e2e tests.
9187
./hack/test-e2e.sh $(GINKGO_FLAGS) ./test/e2e/... ./webhosting-operator/test/e2e/...
@@ -102,7 +98,7 @@ lint: $(GOLANGCI_LINT) ## Run golangci-lint against code.
10298
$(GOLANGCI_LINT) run ./... ./webhosting-operator/...
10399

104100
.PHONY: check
105-
check: lint test test-integration test-kyverno ## Check everything (lint + test + test-integration + test-kyverno).
101+
check: lint test test-integration ## Check everything (lint + test + test-integration).
106102

107103
.PHONY: verify-fmt
108104
verify-fmt: fmt ## Verify go code is formatted.

hack/tools.mk

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@ $(KUBECTL): $(call tool_version_file,$(KUBECTL),$(KUBECTL_VERSION))
5555
curl -Lo $(KUBECTL) https://dl.k8s.io/release/$(KUBECTL_VERSION)/bin/$(shell uname -s | tr '[:upper:]' '[:lower:]')/$(shell uname -m | sed 's/x86_64/amd64/')/kubectl
5656
chmod +x $(KUBECTL)
5757

58-
KYVERNO := $(TOOLS_BIN_DIR)/kyverno
59-
# renovate: datasource=github-releases depName=kyverno/kyverno
60-
KYVERNO_VERSION ?= v1.15.1
61-
$(KYVERNO): $(call tool_version_file,$(KYVERNO),$(KYVERNO_VERSION))
62-
curl -Lo - https://github.com/kyverno/kyverno/releases/download/$(KYVERNO_VERSION)/kyverno-cli_$(KYVERNO_VERSION)_$(shell uname -s | tr '[:upper:]' '[:lower:]')_$(shell uname -m | sed 's/aarch64/arm64/').tar.gz | tar -xzmf - -C $(TOOLS_BIN_DIR) kyverno
63-
chmod +x $(KYVERNO)
64-
6558
SETUP_ENVTEST := $(TOOLS_BIN_DIR)/setup-envtest
6659
CONTROLLER_RUNTIME_VERSION ?= $(call version_gomod,sigs.k8s.io/controller-runtime)
6760
$(SETUP_ENVTEST): $(call tool_version_file,$(SETUP_ENVTEST),$(CONTROLLER_RUNTIME_VERSION))

0 commit comments

Comments
 (0)