From 8aa0dcbc53d702619b8f1eb9b355b3ba44962883 Mon Sep 17 00:00:00 2001 From: torredil Date: Wed, 17 Apr 2024 13:15:34 +0000 Subject: [PATCH] Add makefile target for external-windows-hostprocess Signed-off-by: torredil --- Makefile | 10 ++++++++++ hack/e2e/run.sh | 1 + 2 files changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 2d45031232..5502d27cec 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,7 @@ ALL_OS_ARCH_OSVERSION=$(foreach os, $(ALL_OS), ${ALL_OS_ARCH_OSVERSION_${os}}) CLUSTER_NAME?=ebs-csi-e2e.k8s.local CLUSTER_TYPE?=kops WINDOWS?=false +WINDOWS_HOSTPROCESS?=false # split words on hyphen, access by 1-index word-hyphen = $(word $2,$(subst -, ,$1)) @@ -149,6 +150,15 @@ e2e/external-windows: bin/helm bin/kubetest2 EBS_INSTALL_SNAPSHOT="false" \ ./hack/e2e/run.sh +.PHONY: e2e/external-windows-hostprocess +e2e/external-windows-hostprocess: bin/helm bin/kubetest2 + WINDOWS_HOSTPROCESS=true \ + WINDOWS=true \ + GINKGO_SKIP="\[Disruptive\]|\[Serial\]|\[LinuxOnly\]|\[Feature:VolumeSnapshotDataSource\]|\(xfs\)|\(ext4\)|\(block volmode\)" \ + GINKGO_PARALLEL=15 \ + EBS_INSTALL_SNAPSHOT="false" \ + ./hack/e2e/run.sh + .PHONY: e2e/external-kustomize e2e/external-kustomize: bin/kubetest2 DEPLOY_METHOD="kustomize" \ diff --git a/hack/e2e/run.sh b/hack/e2e/run.sh index 8aa987d333..c889c52db6 100755 --- a/hack/e2e/run.sh +++ b/hack/e2e/run.sh @@ -83,6 +83,7 @@ if [[ "${HELM_CT_TEST}" != true ]]; then --set image.repository="${IMAGE_NAME}" --set image.tag="${IMAGE_TAG}" --set node.enableWindows="${WINDOWS}" + --set node.windowsHostProcess="${WINDOWS_HOSTPROCESS}" --set=controller.k8sTagClusterId="${CLUSTER_NAME}" --timeout 10m0s --wait