Skip to content

Commit 4add599

Browse files
committed
fix: arch incorrectly identified in KIND_IMAGE selection
Signed-off-by: Paul Bastide <[email protected]>
1 parent 233533d commit 4add599

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This project applies to ppc64le only
2-
ARCH ?= ppc64le
2+
ARCH ?= "ppc64le"
33

44
REGISTRY ?= quay.io/powercloud
55
REPOSITORY ?= power-dra-driver
@@ -19,10 +19,11 @@ VERSION ?= v0.1.0
1919
GIT_COMMIT ?= $(shell git describe --match="" --dirty --long --always --abbrev=40 2> /dev/null || echo "")
2020

2121
# Kind configuration
22-
KIND_IMAGE?= docker.io/kindest/node:latest
23-
ifeq ((arch),ppc64le)
24-
KIND_IMAGE=quay.io/powercloud/kind-node:v1.33.1
22+
KIND_IMAGE ?= docker.io/kindest/node:latest
23+
ifeq ($(ARCH),"ppc64le")
24+
KIND_IMAGE := quay.io/powercloud/kind-node:v1.33.1
2525
endif
26+
2627
KIND_CLUSTER_NAME:="power-dra-driver-cluster"
2728
KIND_CLUSTER_CONFIG_PATH:="hack/kind-cluster-config.yaml"
2829
KIND_EXPERIMENTAL_PROVIDER:="podman"
@@ -106,7 +107,7 @@ dev-setup: dev-install-kind
106107
--config $(KIND_CLUSTER_CONFIG_PATH) \
107108
--wait 5m
108109

109-
.PHONY: dev-clean
110+
.PHONY: dev-teardown
110111
dev-teardown:
111112
dev-cache/kind delete cluster \
112113
--name $(KIND_CLUSTER_NAME)

0 commit comments

Comments
 (0)