Skip to content

Commit

Permalink
Add makefile target for external-windows-hostprocess
Browse files Browse the repository at this point in the history
Signed-off-by: torredil <[email protected]>
  • Loading branch information
torredil committed Apr 17, 2024
1 parent 64772f0 commit 8abe7ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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" \
Expand Down
1 change: 1 addition & 0 deletions hack/e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8abe7ab

Please sign in to comment.