k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes-sigs/kind/kind.yaml (about)

     1  periodics:
     2  - name: ci-kind-unit-test
     3    cluster: k8s-infra-prow-build
     4    interval: 6h
     5    decorate: true
     6    extra_refs:
     7    - org: kubernetes-sigs
     8      repo: kind
     9      base_ref: main
    10      path_alias: sigs.k8s.io/kind
    11    labels:
    12      preset-dind-enabled: "true"
    13    spec:
    14      containers:
    15      - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
    16        command:
    17        - wrapper.sh
    18        - make
    19        - test
    20        # we need privileged mode in order to do docker in docker
    21        securityContext:
    22          privileged: true
    23        resources:
    24          limits:
    25            cpu: "4"
    26            memory: 6Gi
    27          requests:
    28            cpu: "4"
    29            memory: 6Gi
    30    annotations:
    31      testgrid-dashboards: sig-testing-kind
    32      testgrid-tab-name: kind-ci-unit-test
    33      testgrid-alert-email: bentheelder@google.com
    34      description: kind CI unit test
    35  # conformance test against kubernetes master branch with `kind`
    36  - interval: 1h
    37    name: ci-kubernetes-kind-conformance
    38    cluster: k8s-infra-prow-build
    39    labels:
    40      preset-service-account: "true"
    41      preset-dind-enabled: "true"
    42      preset-kind-volume-mounts: "true"
    43    decorate: true
    44    decoration_config:
    45      timeout: 150m
    46    extra_refs:
    47    - org: kubernetes
    48      repo: kubernetes
    49      base_ref: master
    50      path_alias: k8s.io/kubernetes
    51    spec:
    52      containers:
    53      - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
    54        command:
    55          - wrapper.sh
    56          - bash
    57          - -c
    58          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
    59        env:
    60        # don't retry conformance tests
    61        - name: GINKGO_TOLERATE_FLAKES
    62          value: "n"
    63        # we need privileged mode in order to do docker in docker
    64        securityContext:
    65          privileged: true
    66        resources:
    67          limits:
    68            cpu: "4"
    69            memory: 9000Mi
    70          requests:
    71            cpu: "4"
    72            memory: 9000Mi
    73    annotations:
    74      testgrid-dashboards: conformance-all, conformance-kind, sig-testing-kind
    75      testgrid-tab-name: conformance, master (dev)
    76      description: Runs conformance tests using kubetest against latest kubernetes master with a kubernetes-in-docker cluster
    77      testgrid-alert-email: bentheelder@google.com,antonio.ojea.garcia@gmail.com
    78      testgrid-num-columns-recent: '3'
    79  # conformance test against kubernetes master branch with `kind` ipv6
    80  - interval: 1h
    81    name: ci-kubernetes-kind-conformance-ipv6
    82    cluster: k8s-infra-prow-build
    83    labels:
    84      preset-service-account: "true"
    85      preset-dind-enabled: "true"
    86      preset-kind-volume-mounts: "true"
    87    decorate: true
    88    decoration_config:
    89      timeout: 150m
    90    extra_refs:
    91    - org: kubernetes
    92      repo: kubernetes
    93      base_ref: master
    94      path_alias: k8s.io/kubernetes
    95    spec:
    96      containers:
    97      - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
    98        command:
    99          - wrapper.sh
   100          - bash
   101          - -c
   102          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   103        env:
   104        # enable IPV6 in bootstrap image
   105        - name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
   106          value: "true"
   107        # tell kind CI script to use ipv6
   108        - name: "IP_FAMILY"
   109          value: "ipv6"
   110        # don't retry conformance tests
   111        - name: GINKGO_TOLERATE_FLAKES
   112          value: "n"
   113        # we need privileged mode in order to do docker in docker
   114        securityContext:
   115          privileged: true
   116        resources:
   117          limits:
   118            cpu: "4"
   119            memory: 9000Mi
   120          requests:
   121            cpu: "4"
   122            memory: 9000Mi
   123    annotations:
   124      testgrid-dashboards: conformance-all, conformance-kind, sig-testing-kind
   125      testgrid-tab-name: kind (IPv6), master (dev)
   126      description: Runs conformance tests using kubetest against latest kubernetes master with an IPv6 kubernetes-in-docker cluster
   127      testgrid-alert-email: bentheelder@google.com,antonio.ojea.garcia@gmail.com
   128      testgrid-num-columns-recent: '3'
   129  # conformance test against kubernetes master branch with `kind`, skipping
   130  # serial tests so it runs in ~20m
   131  - interval: 1h
   132    name: ci-kubernetes-kind-conformance-parallel
   133    cluster: k8s-infra-prow-build
   134    labels:
   135      preset-service-account: "true"
   136      preset-dind-enabled: "true"
   137      preset-kind-volume-mounts: "true"
   138    decorate: true
   139    extra_refs:
   140    - org: kubernetes
   141      repo: kubernetes
   142      base_ref: master
   143      path_alias: k8s.io/kubernetes
   144    spec:
   145      containers:
   146      - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   147        env:
   148        # skip serial tests and run with --ginkgo-parallel
   149        - name: "PARALLEL"
   150          value: "true"
   151        # don't retry conformance tests
   152        - name: GINKGO_TOLERATE_FLAKES
   153          value: "n"
   154        command:
   155          - wrapper.sh
   156          - bash
   157          - -c
   158          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   159        # we need privileged mode in order to do docker in docker
   160        securityContext:
   161          privileged: true
   162        resources:
   163          limits:
   164            cpu: "4"
   165            memory: 9000Mi
   166          requests:
   167            cpu: "4"
   168            memory: 9000Mi
   169    annotations:
   170      testgrid-dashboards: conformance-all, conformance-kind, sig-testing-kind
   171      testgrid-tab-name: conformance, master (dev) [non-serial]
   172      description: Runs conformance tests using kubetest against latest kubernetes master with a kubernetes-in-docker cluster, skipping [Serial] tests
   173      testgrid-alert-email: bentheelder@google.com,antonio.ojea.garcia@gmail.com
   174      testgrid-num-columns-recent: '3'
   175  # conformance test against kubernetes master branch with `kind` ipv6
   176  - interval: 1h
   177    name: ci-kubernetes-kind-conformance-parallel-ipv6
   178    cluster: k8s-infra-prow-build
   179    labels:
   180      preset-service-account: "true"
   181      preset-dind-enabled: "true"
   182      preset-kind-volume-mounts: "true"
   183    decorate: true
   184    extra_refs:
   185    - org: kubernetes
   186      repo: kubernetes
   187      base_ref: master
   188      path_alias: k8s.io/kubernetes
   189    spec:
   190      containers:
   191      - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   192        env:
   193        # enable IPV6 in bootstrap image
   194        - name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
   195          value: "true"
   196        # tell kind CI script to use ipv6
   197        - name: "IP_FAMILY"
   198          value: "ipv6"
   199        # skip serial tests and run with --ginkgo-parallel
   200        - name: "PARALLEL"
   201          value: "true"
   202        # don't retry conformance tests
   203        - name: GINKGO_TOLERATE_FLAKES
   204          value: "n"
   205        command:
   206          - wrapper.sh
   207          - bash
   208          - -c
   209          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   210        # we need privileged mode in order to do docker in docker
   211        securityContext:
   212          privileged: true
   213        resources:
   214          limits:
   215            cpu: "4"
   216            memory: 9000Mi
   217          requests:
   218            cpu: "4"
   219            memory: 9000Mi
   220    annotations:
   221      testgrid-dashboards: conformance-all, conformance-kind, sig-testing-kind
   222      testgrid-tab-name: kind (IPv6), master (dev) [non-serial]
   223      description: Runs conformance tests using kubetest against latest kubernetes master with an IPv6 kubernetes-in-docker cluster, skipping [Serial] tests
   224      testgrid-alert-email: bentheelder@google.com,antonio.ojea.garcia@gmail.com
   225      testgrid-num-columns-recent: '3'