k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes-csi/csi-driver-host-path/csi-driver-host-path-manual-job-config.yaml (about)

     1  # Derived from csi-driver-host-path-config.yaml, modified and maintained manually.
     2  
     3  presubmits:
     4    kubernetes-csi/csi-driver-host-path:
     5    # 1.28 is used because it is the (currently) latest stable release.
     6    - name: pull-kubernetes-csi-csi-driver-host-distributed-on-kubernetes-1-28
     7      cluster: eks-prow-build-cluster
     8      always_run: true
     9      optional: true
    10      decorate: true
    11      skip_report: false
    12      skip_branches: []
    13      labels:
    14        preset-service-account: "true"
    15        preset-dind-enabled: "true"
    16        preset-kind-volume-mounts: "true"
    17      annotations:
    18        testgrid-dashboards: sig-storage-csi-csi-driver-host-path
    19        testgrid-tab-name: distributed-on-kubernetes-1-28
    20        description: Kubernetes-CSI pull job in repo csi-driver-host-path for distributed deployment on Kubernetes 1.28, with CSIStorageCapacity
    21      spec:
    22        containers:
    23        # We need this image because it has Docker in Docker and go.
    24        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    25          command:
    26          - runner.sh
    27          args:
    28          - ./.prow.sh
    29          env:
    30          - name: CSI_PROW_KUBERNETES_VERSION
    31            value: "1.28.0"
    32          - name: CSI_PROW_DEPLOYMENT
    33            value: "kubernetes-distributed"
    34          - name: CSI_SNAPSHOTTER_VERSION
    35            value: "v6.1.0"
    36          - name: CSI_PROW_TESTS
    37            value: "sanity serial parallel serial-alpha parallel-alpha"
    38          - name: CSI_PROW_SANITY_POD
    39            # The hostpath pod is part of a DaemonSet with an unpredictable
    40            # name. There's also more than one. We can list all them by
    41            # their label, but then still need to filter by node name
    42            # to find the one that is on the same host as the socat pod
    43            # which exposes the CSI socket for us.
    44            value: kubectl get pods -l app.kubernetes.io/name=csi-hostpathplugin -o "jsonpath={.items[?(@.spec.nodeName==\"$(kubectl get pods/csi-hostpath-socat-0 -o jsonpath={.spec.nodeName})\")].metadata.name}"
    45          # docker-in-docker needs privileged mode
    46          securityContext:
    47            privileged: true
    48          resources:
    49            requests:
    50              memory: "9Gi"
    51              cpu: 4
    52            limits:
    53              memory: "9Gi"
    54              cpu: 4
    55  
    56  periodics:
    57  - interval: 6h
    58    # 1.28 is used because it is the (currently) latest stable
    59    # release.
    60    #
    61    # This job is meant to detect regressions in upcoming releases
    62    # that slipped through pre-merge testing, so we have to use canary
    63    # images.
    64    name: ci-kubernetes-csi-canary-distributed-on-kubernetes-1-28
    65    cluster: eks-prow-build-cluster
    66    decorate: true
    67    extra_refs:
    68    - org: kubernetes-csi
    69      repo: csi-driver-host-path
    70      base_ref: master
    71    labels:
    72      preset-service-account: "true"
    73      preset-dind-enabled: "true"
    74      preset-bazel-remote-cache-enabled: "true"
    75      preset-kind-volume-mounts: "true"
    76    annotations:
    77      testgrid-dashboards: sig-storage-csi-ci
    78      testgrid-tab-name: distributed-on-1-26
    79      testgrid-alert-email: kubernetes-sig-storage-test-failures@googlegroups.com
    80      description: periodic Kubernetes-CSI job for distributed provisioning on Kubernetes 1.28, with CSIStorageCapacity
    81    spec:
    82      containers:
    83      # We need this image because it has Docker in Docker and go.
    84      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    85        command:
    86        - runner.sh
    87        args:
    88        - ./.prow.sh
    89        env:
    90        - name: CSI_PROW_KUBERNETES_VERSION
    91          value: "1.28.0"
    92        - name: CSI_PROW_USE_BAZEL
    93          value: "false"
    94        - name: CSI_SNAPSHOTTER_VERSION
    95          value: "master"
    96        - name: CSI_PROW_BUILD_JOB
    97          value: "false"
    98        - name: CSI_PROW_TESTS
    99          value: "sanity serial parallel serial-alpha parallel-alpha"
   100        - name: CSI_PROW_DEPLOYMENT
   101          value: "kubernetes-distributed"
   102        - name: CSI_PROW_SANITY_POD
   103          # The hostpath pod is part of a DaemonSet with an unpredictable
   104          # name. There's also more than one. We can list all them by
   105          # their label, but then still need to filter by node name
   106          # to find the one that is on the same host as the socat pod
   107          # which exposes the CSI socket for us.
   108          value: kubectl get pods -l app.kubernetes.io/name=csi-hostpathplugin -o "jsonpath={.items[?(@.spec.nodeName==\"$(kubectl get pods/csi-hostpath-socat-0 -o jsonpath={.spec.nodeName})\")].metadata.name}"
   109        # Replace images....
   110        - name: CSI_PROW_HOSTPATH_CANARY
   111          value: "canary"
   112        # docker-in-docker needs privileged mode
   113        securityContext:
   114          privileged: true
   115        resources:
   116          requests:
   117            memory: "9Gi"
   118            cpu: 4
   119          limits:
   120            memory: "9Gi"
   121            cpu: 4
   122  - interval: 6h
   123    # 1.24 will change the CSIStorageCapacity API: v1beta1 becomes deprecated and v1 gets added.
   124    name: ci-kubernetes-csi-canary-distributed-on-kubernetes-master
   125    cluster: eks-prow-build-cluster
   126    decorate: true
   127    extra_refs:
   128    - org: kubernetes-csi
   129      repo: csi-driver-host-path
   130      base_ref: master
   131    labels:
   132      preset-service-account: "true"
   133      preset-dind-enabled: "true"
   134      preset-bazel-remote-cache-enabled: "true"
   135      preset-kind-volume-mounts: "true"
   136    annotations:
   137      testgrid-dashboards: sig-storage-csi-ci
   138      testgrid-tab-name: distributed-on-master
   139      testgrid-alert-email: kubernetes-sig-storage-test-failures@googlegroups.com
   140      description: periodic Kubernetes-CSI job for distributed provisioning on Kubernetes master, with CSIStorageCapacity
   141    spec:
   142      containers:
   143      # We need this image because it has Docker in Docker and go.
   144      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   145        command:
   146        - runner.sh
   147        args:
   148        - ./.prow.sh
   149        env:
   150        - name: CSI_PROW_KUBERNETES_VERSION
   151          value: "latest"
   152        - name: CSI_PROW_USE_BAZEL
   153          value: "false"
   154        - name: CSI_SNAPSHOTTER_VERSION
   155          value: "master"
   156        - name: CSI_PROW_BUILD_JOB
   157          value: "false"
   158        - name: CSI_PROW_TESTS
   159          value: "sanity serial parallel serial-alpha parallel-alpha"
   160        - name: CSI_PROW_DEPLOYMENT
   161          value: "kubernetes-distributed"
   162        - name: CSI_PROW_SANITY_POD
   163          # The hostpath pod is part of a DaemonSet with an unpredictable
   164          # name. There's also more than one. We can list all them by
   165          # their label, but then still need to filter by node name
   166          # to find the one that is on the same host as the socat pod
   167          # which exposes the CSI socket for us.
   168          value: kubectl get pods -l app.kubernetes.io/name=csi-hostpathplugin -o "jsonpath={.items[?(@.spec.nodeName==\"$(kubectl get pods/csi-hostpath-socat-0 -o jsonpath={.spec.nodeName})\")].metadata.name}"
   169        # Replace images....
   170        - name: CSI_PROW_HOSTPATH_CANARY
   171          value: "canary"
   172        # docker-in-docker needs privileged mode
   173        securityContext:
   174          privileged: true
   175        resources:
   176          requests:
   177            memory: "9Gi"
   178            cpu: 4
   179          limits:
   180            memory: "9Gi"
   181            cpu: 4