From a265ee04af9b21379c4f33cf8838e579f71d99d6 Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Sun, 1 Nov 2026 20:33:36 +0100 Subject: Implement Hostinger DNS webhook --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 27d294d..b8efd83 100644 --- a/Makefile +++ b/Makefile @@ -13,12 +13,20 @@ ENVTEST_K8S_VERSION=1.35.0 HELM_FILES := $(shell find deploy/example-webhook) # FIXME: The environment variables are required by the test helper in cert-manager, but not required to run the tests. -test: setup-envtest +.PHONY: test test-unit check-test-config +test: check-test-config setup-envtest TEST_ASSET_ETCD=$(LOCALBIN)/k8s/$(ENVTEST_K8S_VERSION)-$(OS)-$(ARCH)/etcd \ TEST_ASSET_KUBE_APISERVER=$(LOCALBIN)/k8s/$(ENVTEST_K8S_VERSION)-$(OS)-$(ARCH)/kube-apiserver \ TEST_ASSET_KUBECTL=$(LOCALBIN)/k8s/$(ENVTEST_K8S_VERSION)-$(OS)-$(ARCH)/kubectl \ + $(GO) test -v -count=1 -tags=conformance -timeout=30m . + +test-unit: $(GO) test -v . +check-test-config: + @test -n "$$TEST_ZONE_NAME" || { echo "TEST_ZONE_NAME is required for live conformance tests" >&2; exit 1; } + @test -n "$$HOSTINGER_API_TOKEN" || { echo "HOSTINGER_API_TOKEN is required for live conformance tests" >&2; exit 1; } + .PHONY: clean clean: chmod -R u+w $(LOCALBIN) $(OUT) 2>/dev/null || true -- cgit v1.2.3