1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 07:26:55 +00:00

chore: switch to kyverno/kuttl (#5504)

* chore: swith to kyverno/kuttl

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* pin version

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Sambhav Kothari <sambhavs.email@gmail.com>
This commit is contained in:
Charles-Edouard Brétéché 2022-12-28 06:40:07 +01:00 committed by GitHub
parent 0edff469ba
commit 601541c147
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 5 additions and 35 deletions

View file

@ -59,7 +59,7 @@ HELM_DOCS_VERSION := v1.11.0
KO := $(TOOLS_DIR)/ko
KO_VERSION := main #e93dbee8540f28c45ec9a2b8aec5ef8e43123966
KUTTL := $(TOOLS_DIR)/kubectl-kuttl
KUTTL_VERSION := v0.14.0
KUTTL_VERSION := v0.0.0-20221129212128-ae4a56e607a7
TOOLS := $(KIND) $(CONTROLLER_GEN) $(CLIENT_GEN) $(LISTER_GEN) $(INFORMER_GEN) $(OPENAPI_GEN) $(GEN_CRD_API_REFERENCE_DOCS) $(GO_ACC) $(GOIMPORTS) $(HELM) $(HELM_DOCS) $(KO) $(KUTTL)
ifeq ($(GOOS), darwin)
SED := gsed
@ -117,7 +117,7 @@ $(KO):
$(KUTTL):
@echo Install kuttl... >&2
@GOBIN=$(TOOLS_DIR) go install github.com/kudobuilder/kuttl/cmd/kubectl-kuttl@$(KUTTL_VERSION)
@GOBIN=$(TOOLS_DIR) go install github.com/kyverno/kuttl/cmd/kubectl-kuttl@$(KUTTL_VERSION)
.PHONY: install-tools
install-tools: $(TOOLS) ## Install tools

View file

@ -1,39 +1,9 @@
apiVersion: kuttl.dev/v1beta1
kind: TestSuite
testDirs:
# Autogen tests
- ./test/conformance/kuttl/autogen
# Generate tests
- ./test/conformance/kuttl/generate/clusterpolicy/standard/clone/nosync
- ./test/conformance/kuttl/generate/clusterpolicy/standard/clone/sync
- ./test/conformance/kuttl/generate/clusterpolicy/standard/data/sync
- ./test/conformance/kuttl/generate/clusterpolicy/standard/data/nosync
- ./test/conformance/kuttl/generate/policy/standard/clone/nosync
- ./test/conformance/kuttl/generate/policy/standard/clone/sync
- ./test/conformance/kuttl/generate/policy/standard/data/sync
# - ./test/conformance/kuttl/generate/policy/standard/data/nosync
- ./test/conformance/kuttl/generate/clusterpolicy/cornercases
# Mutate tests
- ./test/conformance/kuttl/mutate/e2e
- ./test/conformance/kuttl/mutate/clusterpolicy/standard
- ./test/conformance/kuttl/mutate/clusterpolicy/standard/existing
- ./test/conformance/kuttl/mutate/clusterpolicy/cornercases
# Validate tests
- ./test/conformance/kuttl/validate/clusterpolicy/standard/audit
- ./test/conformance/kuttl/validate/clusterpolicy/standard/enforce
- ./test/conformance/kuttl/validate/clusterpolicy/standard/wildcard
- ./test/conformance/kuttl/validate/clusterpolicy/cornercases
- ./test/conformance/kuttl/validate/cleanuppolicy
- ./test/conformance/kuttl/validate/e2e
# Verify image tests
- ./test/conformance/kuttl/verifyImages/clusterpolicy/standard
# Report tests
- ./test/conformance/kuttl/reports/admission
- ./test/conformance/kuttl/reports/background
# RBAC
- ./test/conformance/kuttl/rbac
# Webhooks
- ./test/conformance/kuttl/webhooks
- ./test/conformance/kuttl
startKIND: false
# timeout: 15
parallel: 1
fullName: true
skipTestRegex: '_.+'