Skip to content

Commit

Permalink
chore: refine Makefile
Browse files Browse the repository at this point in the history
fix Makefile

revert
  • Loading branch information
andyzhangx committed May 26, 2023
1 parent 4892d8b commit ebd4f8c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ ARCH ?= amd64
OSVERSION ?= 1809
# Output type of docker buildx build
OUTPUT_TYPE ?= registry
# enable host process containers for Windows
USE_HOST_PROCESS_CONTAINERS ?= false

.EXPORT_ALL_VARIABLES:

Expand Down Expand Up @@ -99,17 +97,16 @@ e2e-test:

.PHONY: e2e-bootstrap
e2e-bootstrap: install-helm
ifeq ($(WINDOWS_USE_HOST_PROCESS_CONTAINERS),"true")
(docker pull $(CSI_IMAGE_TAG) && docker pull $(CSI_IMAGE_TAG)-windows-hp) || make container-all push-manifest
USE_HOST_PROCESS_CONTAINERS=true
ifdef WINDOWS_USE_HOST_PROCESS_CONTAINERS
(docker pull $(CSI_IMAGE_TAG) && docker pull $(CSI_IMAGE_TAG)-windows-hp) || make container-all push-manifest
else
docker pull $(CSI_IMAGE_TAG) || make container-all push-manifest
endif
ifdef TEST_WINDOWS
helm install azurefile-csi-driver charts/latest/azurefile-csi-driver --namespace kube-system --wait --timeout=15m -v=5 --debug \
${E2E_HELM_OPTIONS} \
--set windows.enabled=true \
--set windows.useHostProcessContainers=${USE_HOST_PROCESS_CONTAINERS} \
--set windows.useHostProcessContainers=${WINDOWS_USE_HOST_PROCESS_CONTAINERS} \
--set linux.enabled=false \
--set driver.azureGoSDKLogLevel=INFO \
--set controller.replicas=1 \
Expand Down

0 comments on commit ebd4f8c

Please sign in to comment.