Skip to content

Commit

Permalink
Update Makefile references to tests/Dockerfile (#4631)
Browse files Browse the repository at this point in the history
  • Loading branch information
oseoin authored Nov 9, 2023
1 parent 0e1e647 commit 2816996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ KUBE_CONFIG_FOLDER = $${HOME}/.kube
KIND_KUBE_CONFIG_FOLDER = $${HOME}/.kube/kind
SHOW_IC_LOGS = no
PYTEST_ARGS =
DOCKERFILEPATH = docker/Dockerfile
DOCKERFILEPATH = Dockerfile
IP_FAMILY=dual


Expand Down Expand Up @@ -64,7 +64,7 @@ run-tests-in-kind: update-test-kind-config ## Run tests in Kind

.PHONY: create-kind-cluster
create-kind-cluster: ## Create Kind cluster
$(eval KIND_IMAGE=$(shell grep -m1 'FROM kindest/node' <docker/Dockerfile | awk -F'[ ]' '{print $$2}'))
$(eval KIND_IMAGE=$(shell grep -m1 'FROM kindest/node' <Dockerfile | awk -F'[ ]' '{print $$2}'))
kind create cluster --image $(KIND_IMAGE) --config=<(sed 's/dual/${IP_FAMILY}/' ./ci-files/ci-kind-config.yaml)
kind export kubeconfig --kubeconfig $(KIND_KUBE_CONFIG_FOLDER)/config

Expand Down

0 comments on commit 2816996

Please sign in to comment.