From bb32371071d674f1896af539459b2f7008ab8d0a Mon Sep 17 00:00:00 2001 From: Mauricio Poppe Date: Thu, 4 Nov 2021 18:18:32 +0000 Subject: [PATCH] Prow config to run LVP in Windows 2019 --- .../sig-storage-local-static-provisioner.yaml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/config/jobs/kubernetes-sigs/sig-storage-local-static-provisioner/sig-storage-local-static-provisioner.yaml b/config/jobs/kubernetes-sigs/sig-storage-local-static-provisioner/sig-storage-local-static-provisioner.yaml index f104da171c8d1..ab628e62b04bf 100644 --- a/config/jobs/kubernetes-sigs/sig-storage-local-static-provisioner/sig-storage-local-static-provisioner.yaml +++ b/config/jobs/kubernetes-sigs/sig-storage-local-static-provisioner/sig-storage-local-static-provisioner.yaml @@ -64,6 +64,42 @@ presubmits: # docker-in-docker needs privileged mode securityContext: privileged: true + - name: pull-sig-storage-local-static-provisioner-e2e-windows-2019 + always_run: false + decorate: true + path_alias: sigs.k8s.io/sig-storage-local-static-provisioner + labels: + preset-k8s-ssh: "true" + preset-service-account: "true" + preset-common-gce-windows: "true" + preset-e2e-gce-windows: "true" + preset-bazel-scratch-dir: "true" + preset-bazel-remote-cache-enabled: "true" + preset-dind-enabled: "true" + spec: + containers: + - image: gcr.io/k8s-testimages/kubekins-e2e:v20210902-e4567b8-master + command: + - runner.sh + args: + - hack/e2e.sh + - -- + - --test-cmd-args=--allowed-not-ready-nodes=10 + - --test-cmd-args=--node-os-distro=windows + env: + # minimum size that supports Hyper-V + - name: NODE_SIZE + value: "e2-standard-2" + # added in https://github.com/kubernetes/kubernetes/pull/105999 + - name: WINDOWS_ENABLE_HYPERV + value: "true" + # if the value is changed, also change the hack/e2e.sh Windows image to build! + # this is done so that the e2e test runs faster + - name: WINDOWS_NODE_OS_DISTRIBUTION + value: "win2019" + # docker-in-docker needs privileged mode + securityContext: + privileged: true periodics: - name: ci-sig-storage-local-static-provisioner-master-gce-latest