Skip to content

Commit

Permalink
allow AZWI opt-out for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nojnhuh committed Jul 12, 2023
1 parent c774775 commit 13afb57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ CLUSTER_TEMPLATE ?= cluster-template.yaml
MANAGED_CLUSTER_TEMPLATE ?= cluster-template-aks.yaml

export KIND_CLUSTER_NAME ?= capz
export AZWI ?= true

## --------------------------------------
## Binaries
Expand Down Expand Up @@ -669,7 +670,7 @@ test-cover: test ## Run tests with code coverage and generate reports.

.PHONY: kind-create-bootstrap
kind-create-bootstrap: $(KUBECTL) ## Create capz kind bootstrap cluster.
export AZWI=true KIND_CLUSTER_NAME=capz-e2e && ./scripts/kind-with-registry.sh
export KIND_CLUSTER_NAME=capz-e2e && ./scripts/kind-with-registry.sh

.PHONY: test-e2e-run
test-e2e-run: generate-e2e-templates install-tools kind-create-bootstrap ## Run e2e tests.
Expand Down

0 comments on commit 13afb57

Please sign in to comment.