Skip to content

Commit 9cd5908

Browse files
committed
Modified make target run-e2e to accept an optional E2E_CONFIG env var param, allowing override of the default test/e2e/config/cloudstack.yaml.
1 parent 887e3fe commit 9cd5908

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,13 @@ e2e-essentials: $(GINKGO_V1) $(KUBECTL) e2e-cluster-templates kind-cluster ## Fu
280280
IMG=$(IMG_LOCAL) make generate-manifests docker-build docker-push
281281

282282
JOB ?= .*
283+
E2E_CONFIG ?= ${REPO_ROOT}/test/e2e/config/cloudstack.yaml
283284
run-e2e: e2e-essentials ## Run e2e testing. JOB is an optional REGEXP to select certainn test cases to run. e.g. JOB=PR-Blocking, JOB=Conformance
284285
$(KUBECTL) apply -f cloud-config.yaml && \
285286
cd test/e2e && \
286287
$(GINKGO_V1) -v -trace -tags=e2e -focus=$(JOB) -skip=Conformance -skipPackage=helpers -nodes=1 -noColor=false ./... -- \
287288
-e2e.artifacts-folder=${REPO_ROOT}/_artifacts \
288-
-e2e.config=${REPO_ROOT}/test/e2e/config/cloudstack.yaml \
289+
-e2e.config=${E2E_CONFIG} \
289290
-e2e.skip-resource-cleanup=false -e2e.use-existing-cluster=true
290291
kind delete clusters capi-test
291292

0 commit comments

Comments
 (0)