@@ -62,6 +62,7 @@ CORE_MANIFEST_FILE := infrastructure-components
6262CORE_CONFIG_DIR := config/default
6363CORE_NAMESPACE := capi-ibmcloud-system
6464
65+ PATH := $(abspath $(TOOLS_BIN_DIR ) ) :$(PATH )
6566# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
6667ifeq (,$(shell go env GOBIN) )
6768GOBIN =$(shell go env GOPATH) /bin
@@ -168,9 +169,9 @@ ARTIFACTS ?= $(REPO_ROOT)/_artifacts
168169SKIP_CLEANUP ?= false
169170SKIP_CREATE_MGMT_CLUSTER ?= false
170171
171- # Run the end-to-end tests
172+ # Run the end-to-end tests
172173.PHONY : test-e2e
173- test-e2e : $(KUBECTL ) $(GINKGO ) $(ENVSUBST ) set-flavor e2e-image
174+ test-e2e : $(KUBECTL ) $(GINKGO ) $(KUSTOMIZE ) $( ENVSUBST ) set-flavor e2e-image
174175 $(ENVSUBST ) < $(E2E_CONF_FILE ) > $(E2E_CONF_FILE_ENVSUBST )
175176 $(GINKGO ) $(GINKGO_ARGS ) ./test/e2e -- \
176177 -e2e.artifacts-folder=" $( ARTIFACTS) " \
@@ -179,6 +180,11 @@ test-e2e: $(KUBECTL) $(GINKGO) $(ENVSUBST) set-flavor e2e-image
179180 -e2e.use-existing-cluster=$(SKIP_CREATE_MGMT_CLUSTER ) \
180181 -e2e.flavor=" $( E2E_FLAVOR) "
181182
183+ # Basic checks for deploying kind cluster and required providers
184+ .PHONY : test-sanity
185+ test-sanity :
186+ GINKGO_FOCUS=" Run Sanity tests" $(MAKE ) test-e2e
187+
182188# # --------------------------------------
183189# # Docker
184190# # --------------------------------------
0 commit comments