k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes-sigs/sig-storage-local-static-provisioner/sig-storage-local-static-provisioner.yaml (about)

     1  presubmits:
     2    kubernetes-sigs/sig-storage-local-static-provisioner:
     3    - name: pull-sig-storage-local-static-provisioner
     4      cluster: eks-prow-build-cluster
     5      always_run: true
     6      decorate: true
     7      path_alias: sigs.k8s.io/sig-storage-local-static-provisioner
     8      labels:
     9        preset-dind-enabled: "true"
    10      spec:
    11        containers:
    12        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    13          command:
    14          - runner.sh
    15          args:
    16          - make
    17          # docker-in-docker needs privileged mode
    18          securityContext:
    19            privileged: true
    20          resources:
    21            limits:
    22              cpu: 2
    23              memory: 4Gi
    24            requests:
    25              cpu: 2
    26              memory: 4Gi
    27  
    28    - name: pull-sig-storage-local-static-provisioner-verify
    29      cluster: eks-prow-build-cluster
    30      always_run: true
    31      decorate: true
    32      path_alias: sigs.k8s.io/sig-storage-local-static-provisioner
    33      spec:
    34        containers:
    35        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    36          command:
    37          - runner.sh
    38          args:
    39          - make
    40          - verify
    41          resources:
    42            limits:
    43              cpu: 2
    44              memory: 4Gi
    45            requests:
    46              cpu: 2
    47              memory: 4Gi
    48  
    49    - name: pull-sig-storage-local-static-provisioner-test
    50      cluster: eks-prow-build-cluster
    51      always_run: true
    52      decorate: true
    53      path_alias: sigs.k8s.io/sig-storage-local-static-provisioner
    54      labels:
    55        preset-dind-enabled: "true"
    56      spec:
    57        containers:
    58        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    59          command:
    60          - runner.sh
    61          args:
    62          - make
    63          - test
    64          # docker-in-docker needs privileged mode
    65          securityContext:
    66            privileged: true
    67          resources:
    68            limits:
    69              cpu: 2
    70              memory: 4Gi
    71            requests:
    72              cpu: 2
    73              memory: 4Gi
    74  
    75    - name: pull-sig-storage-local-static-provisioner-e2e
    76      cluster: k8s-infra-prow-build
    77      always_run: true
    78      decorate: true
    79      path_alias: sigs.k8s.io/sig-storage-local-static-provisioner
    80      labels:
    81        preset-dind-enabled: "true"
    82        preset-service-account: "true"
    83        preset-k8s-ssh: "true"
    84      spec:
    85        containers:
    86        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    87          command:
    88          - runner.sh
    89          args:
    90          - make
    91          - e2e
    92          # docker-in-docker needs privileged mode
    93          securityContext:
    94            privileged: true
    95          resources:
    96            limits:
    97              cpu: 2
    98              memory: 4Gi
    99            requests:
   100              cpu: 2
   101              memory: 4Gi
   102    - name: pull-sig-storage-local-static-provisioner-e2e-windows-2019
   103      cluster: k8s-infra-prow-build
   104      always_run: false
   105      decorate: true
   106      path_alias: sigs.k8s.io/sig-storage-local-static-provisioner
   107      labels:
   108        preset-k8s-ssh: "true"
   109        preset-service-account: "true"
   110        preset-common-gce-windows: "true"
   111        preset-e2e-gce-windows: "true"
   112        preset-e2e-gce-windows-containerd: "true"
   113        preset-bazel-scratch-dir: "true"
   114        preset-bazel-remote-cache-enabled: "true"
   115        preset-dind-enabled: "true"
   116      spec:
   117        containers:
   118        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   119          command:
   120          - runner.sh
   121          args:
   122          - hack/e2e.sh
   123          - --
   124          - --test-cmd-args=--allowed-not-ready-nodes=10
   125          - --test-cmd-args=--node-os-distro=windows
   126          env:
   127          - name: NODE_SIZE
   128            value: "n2-standard-2"
   129          - name: NODE_LOCAL_SSDS
   130            value: "2"
   131          # added in https://github.com/kubernetes/kubernetes/pull/105999
   132          - name: WINDOWS_ENABLE_HYPERV
   133            value: "true"
   134          # if the value is changed, also change the hack/e2e.sh Windows image to build!
   135          # this is done so that the e2e test runs faster
   136          - name: WINDOWS_NODE_OS_DISTRIBUTION
   137            value: "win2019"
   138          # in the e2e tests the flag --working-dir set on CSI Proxy allows
   139          # setting the locations where CSI Proxy is supposed to run
   140          # the test location is defined in /test/e2e/e2e_test.go
   141          - name: CSI_PROXY_FLAGS
   142            value: "--working-dir C:\\tmp"
   143          # docker-in-docker needs privileged mode
   144          securityContext:
   145            privileged: true
   146          resources:
   147            limits:
   148              cpu: 2
   149              memory: 4Gi
   150            requests:
   151              cpu: 2
   152              memory: 4Gi
   153  
   154  periodics:
   155  - name: ci-sig-storage-local-static-provisioner-master-gce-latest
   156    cluster: k8s-infra-prow-build
   157    interval: 4h
   158    decorate: true
   159    labels:
   160      preset-dind-enabled: "true"
   161      preset-service-account: "true"
   162      preset-k8s-ssh: "true"
   163    extra_refs:
   164    - org: kubernetes-sigs
   165      repo: sig-storage-local-static-provisioner
   166      base_ref: master
   167      path_alias: sigs.k8s.io/sig-storage-local-static-provisioner
   168    spec:
   169      containers:
   170      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   171        command:
   172        - runner.sh
   173        args:
   174        - make
   175        - e2e
   176        env:
   177        - name: PROVIDER
   178          value: gce
   179        - name: EXTRACT_STRATEGY
   180          value: ci/latest
   181        - NAME: PROVISIONER_E2E_IMAGE
   182          value: gcr.io/k8s-staging-sig-storage/local-volume-provisioner:canary
   183        # docker-in-docker needs privileged mode
   184        securityContext:
   185          privileged: true
   186        resources:
   187          limits:
   188            cpu: 2
   189            memory: 4Gi
   190          requests:
   191            cpu: 2
   192            memory: 4Gi