update Makefile for e2e tetsing
Signed-off-by: Steven Borrelli <steve@borrelli.org>
This commit is contained in:
parent
43e6eea5a9
commit
dd84508d34
8
Makefile
8
Makefile
|
@ -18,6 +18,10 @@ GO_SUBDIRS += cmd internal apis
|
|||
GO111MODULE = on
|
||||
-include build/makelib/golang.mk
|
||||
|
||||
# kind-related versions
|
||||
KIND_VERSION ?= v0.12.0
|
||||
KIND_NODE_IMAGE_TAG ?= v1.23.4
|
||||
|
||||
# Setup Kubernetes tools
|
||||
-include build/makelib/k8s_tools.mk
|
||||
|
||||
|
@ -42,9 +46,9 @@ generate: crds.clean
|
|||
e2e.run: test-integration
|
||||
|
||||
# Run integration tests.
|
||||
test-integration: $(KIND) $(KUBECTL) $(HELM3)
|
||||
test-integration: $(KIND) $(KUBECTL) $(UP) $(HELM3)
|
||||
@$(INFO) running integration tests using kind $(KIND_VERSION)
|
||||
@$(ROOT_DIR)/cluster/local/integration_tests.sh || $(FAIL)
|
||||
@KIND_NODE_IMAGE_TAG=${KIND_NODE_IMAGE_TAG} $(ROOT_DIR)/cluster/local/integration_tests.sh || $(FAIL)
|
||||
@$(OK) integration tests passed
|
||||
|
||||
# Update the submodules, such as the common build scripts.
|
||||
|
|
|
@ -51,7 +51,7 @@ PACKAGE_CONTROLLER_IMAGE="${DOCKER_REGISTRY}/${PROJECT_NAME}-controller:${VERSIO
|
|||
K8S_CLUSTER="${K8S_CLUSTER:-${BUILD_REGISTRY}-inttests}"
|
||||
|
||||
CROSSPLANE_NAMESPACE="crossplane-system"
|
||||
PACKAGE_NAME="provider-aws"
|
||||
PACKAGE_NAME="provider-kafka"
|
||||
|
||||
# cleanup on exit
|
||||
if [ "$skipcleanup" != true ]; then
|
||||
|
|
Loading…
Reference in New Issue