diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 7f4716c..6c434ed 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -30,7 +30,7 @@ jobs: uses: azure/setup-helm@v4.3.0 - name: Setup KinD cluster - run: ./hack/create-kind-cluster.sh + run: make create-kind-cluster - name: Install func-operator run: make docker-build docker-push deploy diff --git a/Makefile b/Makefile index a5ecc0f..845d973 100644 --- a/Makefile +++ b/Makefile @@ -227,6 +227,10 @@ deploy-debugger: manifests kustomize ## Deploy debug controller to the K8s clust undeploy: kustomize ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion. $(KUSTOMIZE) build config/default | $(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -f - +.PHONY: create-kind-cluster +create-kind-cluster: + ./hack/create-kind-cluster.sh + ##@ Dependencies ## Location to install dependencies to