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

     1  # sigs.k8s.io/kind presubmits
     2  presubmits:
     3    kubernetes-sigs/kind:
     4    - name: pull-kind-build
     5      cluster: k8s-infra-prow-build
     6      decorate: true
     7      path_alias: sigs.k8s.io/kind
     8      always_run: true
     9      labels:
    10        preset-dind-enabled: "true"
    11      spec:
    12        containers:
    13        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
    14          command:
    15          - wrapper.sh
    16          - ./hack/ci/build-all.sh
    17          # we need privileged mode in order to do docker in docker
    18          securityContext:
    19            privileged: true
    20          resources:
    21            limits:
    22              cpu: "4"
    23              memory: 6Gi
    24            requests:
    25              cpu: "4"
    26              memory: 6Gi
    27    - name: pull-kind-test
    28      cluster: k8s-infra-prow-build
    29      decorate: true
    30      path_alias: sigs.k8s.io/kind
    31      always_run: true
    32      labels:
    33        preset-dind-enabled: "true"
    34      spec:
    35        containers:
    36        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
    37          command:
    38          - wrapper.sh
    39          - make
    40          - test
    41          # we need privileged mode in order to do docker in docker
    42          securityContext:
    43            privileged: true
    44          resources:
    45            limits:
    46              cpu: "4"
    47              memory: 6Gi
    48            requests:
    49              cpu: "4"
    50              memory: 6Gi
    51    - name: pull-kind-verify
    52      cluster: k8s-infra-prow-build
    53      decorate: true
    54      path_alias: sigs.k8s.io/kind
    55      always_run: true
    56      labels:
    57        preset-dind-enabled: "true"
    58      spec:
    59        containers:
    60        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-experimental
    61          command:
    62          - wrapper.sh
    63          - make
    64          - verify
    65          # we need privileged mode in order to do docker in docker
    66          securityContext:
    67            privileged: true
    68          resources:
    69            limits:
    70              cpu: "4"
    71              memory: 6Gi
    72            requests:
    73              cpu: "4"
    74              memory: 6Gi
    75    # conformance test against kubernetes master branch with `kind`, skipping
    76    # serial tests so it runs in ~20m
    77    # GA-only variant
    78    - name: pull-kind-conformance-parallel-ga-only
    79      cluster: k8s-infra-prow-build
    80      labels:
    81        preset-service-account: "true"
    82        preset-dind-enabled: "true"
    83        preset-kind-volume-mounts: "true"
    84      skip_if_only_changed: '(^site/)|(^images/)|(^logo/)|(^.github/)|(.md$)|(OWNERS$)|(^SECURITY_CONTACTS$)|(^netlify.toml$)'
    85      optional: false
    86      decorate: true
    87      extra_refs:
    88      - org: kubernetes
    89        repo: kubernetes
    90        base_ref: master
    91        path_alias: k8s.io/kubernetes
    92      path_alias: sigs.k8s.io/kind
    93      decoration_config:
    94        timeout: 40m
    95      spec:
    96        containers:
    97        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
    98          env:
    99          # skip serial tests and run with --ginkgo-parallel
   100          - name: "PARALLEL"
   101            value: "true"
   102          - name: GA_ONLY
   103            value: "true"
   104          command:
   105          - wrapper.sh
   106          - bash
   107          - -c
   108          - cd ./../../k8s.io/kubernetes && ./../../sigs.k8s.io/kind/hack/ci/e2e.sh
   109          # we need privileged mode in order to do docker in docker
   110          securityContext:
   111            privileged: true
   112          resources:
   113            limits:
   114              cpu: "4"
   115              memory: 9000Mi
   116            requests:
   117              cpu: "4"
   118              memory: 9000Mi
   119    # conformance test against kubernetes master branch with `kind`, skipping
   120    # serial tests so it runs in ~20m
   121    # IPv6 enabled variant
   122    - name: pull-kind-conformance-parallel-ipv6
   123      cluster: k8s-infra-prow-build
   124      labels:
   125        preset-service-account: "true"
   126        preset-dind-enabled: "true"
   127        preset-kind-volume-mounts: "true"
   128      skip_if_only_changed: '(^site/)|(^images/)|(^logo/)|(^.github/)|(.md$)|(OWNERS$)|(^SECURITY_CONTACTS$)|(^netlify.toml$)'
   129      optional: false
   130      decorate: true
   131      extra_refs:
   132      - org: kubernetes
   133        repo: kubernetes
   134        base_ref: master
   135        path_alias: k8s.io/kubernetes
   136      path_alias: sigs.k8s.io/kind
   137      decoration_config:
   138        timeout: 40m
   139      spec:
   140        containers:
   141        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   142          env:
   143          # skip serial tests and run with --ginkgo-parallel
   144          - name: "PARALLEL"
   145            value: "true"
   146          # enable IPV6 in bootstrap image
   147          - name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
   148            value: "true"
   149          # tell kind CI script to use ipv6
   150          - name: "IP_FAMILY"
   151            value: "ipv6"
   152          command:
   153          - wrapper.sh
   154          - bash
   155          - -c
   156          - cd ./../../k8s.io/kubernetes && ./../../sigs.k8s.io/kind/hack/ci/e2e.sh
   157          # we need privileged mode in order to do docker in docker
   158          securityContext:
   159            privileged: true
   160          resources:
   161            limits:
   162              cpu: "4"
   163              memory: 9000Mi
   164            requests:
   165              cpu: "4"
   166              memory: 9000Mi
   167    # conformance test against kubernetes master branch with `kind`, skipping
   168    # serial tests so it runs in ~20m
   169    # Dual Stack enabled variant
   170    - name: pull-kind-conformance-parallel-dual-stack-ipv4-ipv6
   171      cluster: k8s-infra-prow-build
   172      skip_if_only_changed: '(^site/)|(^images/)|(^logo/)|(^.github/)|(.md$)|(OWNERS$)|(^SECURITY_CONTACTS$)|(^netlify.toml$)'
   173      optional: false
   174      labels:
   175        preset-dind-enabled: "true"
   176        preset-kind-volume-mounts: "true"
   177      decorate: true
   178      extra_refs:
   179      - org: kubernetes
   180        repo: kubernetes
   181        base_ref: master
   182        path_alias: k8s.io/kubernetes
   183      path_alias: sigs.k8s.io/kind
   184      decoration_config:
   185        timeout: 40m
   186        grace_period: 15m
   187      spec:
   188        containers:
   189        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   190          command:
   191          - wrapper.sh
   192          - bash
   193          - -c
   194          - cd ./../../k8s.io/kubernetes && ./../../sigs.k8s.io/kind/hack/ci/e2e.sh
   195          env:
   196          - name: FOCUS
   197            value: \[Conformance\]|IPv6DualStack
   198          - name: PARALLEL
   199            value: "true"
   200          - name: IP_FAMILY
   201            value: dual
   202          # enable IPV6 in bootstrap image
   203          - name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
   204            value: "true"
   205          # we need privileged mode in order to do docker in docker
   206          securityContext:
   207            privileged: true
   208          resources:
   209            limits:
   210              cpu: "7"
   211              memory: 9000Mi
   212            requests:
   213              cpu: "7"
   214              memory: 9000Mi
   215    # mimic pull-kubernetes-e2e-kind, but using kind built in this PR
   216    - name: pull-kind-e2e-kubernetes
   217      cluster: k8s-infra-prow-build
   218      skip_if_only_changed: '(^site/)|(^images/)|(^logo/)|(^.github/)|(.md$)|(OWNERS$)|(^SECURITY_CONTACTS$)|(^netlify.toml$)'
   219      optional: false
   220      labels:
   221        preset-dind-enabled: "true"
   222        preset-kind-volume-mounts: "true"
   223      decorate: true
   224      extra_refs:
   225      - org: kubernetes
   226        repo: kubernetes
   227        base_ref: master
   228        path_alias: k8s.io/kubernetes
   229      path_alias: sigs.k8s.io/kind
   230      decoration_config:
   231        timeout: 60m
   232        grace_period: 15m
   233      spec:
   234        containers:
   235        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   236          command:
   237          - wrapper.sh
   238          - bash
   239          - -c
   240          - cd ./../../k8s.io/kubernetes && ./../../sigs.k8s.io/kind/hack/ci/e2e.sh
   241          env:
   242          - name: FOCUS
   243            value: "."
   244          # TODO(bentheelder): reduce the skip list further
   245          # NOTE: changes should filter down to pull-kubernetes-e2e-kind-canary
   246          # and then pull-kubernetes-e2e-kind
   247          - name: SKIP
   248            value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing
   249          - name: PARALLEL
   250            value: "true"
   251          # we need privileged mode in order to do docker in docker
   252          securityContext:
   253            privileged: true
   254          resources:
   255            limits:
   256              cpu: "7"
   257              memory: 9000Mi
   258            requests:
   259              cpu: "7"
   260              memory: 9000Mi
   261    # mimic pull-kubernetes-e2e-kind, but using kind built in this PR
   262    - name: pull-kind-e2e-kubernetes-1-29
   263      cluster: k8s-infra-prow-build
   264      skip_if_only_changed: '(^site/)|(^images/)|(^logo/)|(^.github/)|(.md$)|(OWNERS$)|(^SECURITY_CONTACTS$)|(^netlify.toml$)'
   265      optional: false
   266      labels:
   267        preset-dind-enabled: "true"
   268        preset-kind-volume-mounts: "true"
   269      decorate: true
   270      extra_refs:
   271      - org: kubernetes
   272        repo: kubernetes
   273        base_ref: release-1.29
   274        path_alias: k8s.io/kubernetes
   275      path_alias: sigs.k8s.io/kind
   276      decoration_config:
   277        timeout: 60m
   278        grace_period: 15m
   279      spec:
   280        containers:
   281        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-1.29
   282          command:
   283          - wrapper.sh
   284          - bash
   285          - -c
   286          - cd ./../../k8s.io/kubernetes && ./../../sigs.k8s.io/kind/hack/ci/e2e.sh
   287          env:
   288          - name: FOCUS
   289            value: "."
   290          # TODO(bentheelder): reduce the skip list further
   291          # NOTE: changes should filter down to pull-kubernetes-e2e-kind-canary
   292          # and then pull-kubernetes-e2e-kind
   293          - name: SKIP
   294            value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing
   295          - name: PARALLEL
   296            value: "true"
   297          # we need privileged mode in order to do docker in docker
   298          securityContext:
   299            privileged: true
   300          resources:
   301            limits:
   302              cpu: "7"
   303              memory: 9000Mi
   304            requests:
   305              cpu: "7"
   306              memory: 9000Mi
   307    # mimic pull-kubernetes-e2e-kind, but using kind built in this PR
   308    - name: pull-kind-e2e-kubernetes-1-28
   309      cluster: k8s-infra-prow-build
   310      skip_if_only_changed: '(^site/)|(^images/)|(^logo/)|(^.github/)|(.md$)|(OWNERS$)|(^SECURITY_CONTACTS$)|(^netlify.toml$)'
   311      optional: false
   312      labels:
   313        preset-dind-enabled: "true"
   314        preset-kind-volume-mounts: "true"
   315      decorate: true
   316      extra_refs:
   317      - org: kubernetes
   318        repo: kubernetes
   319        base_ref: release-1.28
   320        path_alias: k8s.io/kubernetes
   321      path_alias: sigs.k8s.io/kind
   322      decoration_config:
   323        timeout: 60m
   324        grace_period: 15m
   325      spec:
   326        containers:
   327        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-1.28
   328          command:
   329          - wrapper.sh
   330          - bash
   331          - -c
   332          - cd ./../../k8s.io/kubernetes && ./../../sigs.k8s.io/kind/hack/ci/e2e.sh
   333          env:
   334          - name: FOCUS
   335            value: "."
   336          # TODO(bentheelder): reduce the skip list further
   337          # NOTE: changes should filter down to pull-kubernetes-e2e-kind-canary
   338          # and then pull-kubernetes-e2e-kind
   339          - name: SKIP
   340            value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing
   341          - name: PARALLEL
   342            value: "true"
   343          # we need privileged mode in order to do docker in docker
   344          securityContext:
   345            privileged: true
   346          resources:
   347            limits:
   348              cpu: "7"
   349              memory: 9000Mi
   350            requests:
   351              cpu: "7"
   352              memory: 9000Mi
   353    # mimic pull-kubernetes-e2e-kind, but using kind built in this PR
   354    - name: pull-kind-e2e-kubernetes-1-27
   355      cluster: k8s-infra-prow-build
   356      skip_if_only_changed: '(^site/)|(^images/)|(^logo/)|(^.github/)|(.md$)|(OWNERS$)|(^SECURITY_CONTACTS$)|(^netlify.toml$)'
   357      optional: false
   358      labels:
   359        preset-dind-enabled: "true"
   360        preset-kind-volume-mounts: "true"
   361      decorate: true
   362      extra_refs:
   363      - org: kubernetes
   364        repo: kubernetes
   365        base_ref: release-1.27
   366        path_alias: k8s.io/kubernetes
   367      path_alias: sigs.k8s.io/kind
   368      decoration_config:
   369        timeout: 60m
   370        grace_period: 15m
   371      spec:
   372        containers:
   373        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-1.27
   374          command:
   375          - wrapper.sh
   376          - bash
   377          - -c
   378          - cd ./../../k8s.io/kubernetes && ./../../sigs.k8s.io/kind/hack/ci/e2e.sh
   379          env:
   380          - name: FOCUS
   381            value: "."
   382          # TODO(bentheelder): reduce the skip list further
   383          # NOTE: changes should filter down to pull-kubernetes-e2e-kind-canary
   384          # and then pull-kubernetes-e2e-kind
   385          - name: SKIP
   386            value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing
   387          - name: PARALLEL
   388            value: "true"
   389          # we need privileged mode in order to do docker in docker
   390          securityContext:
   391            privileged: true
   392          resources:
   393            limits:
   394              cpu: "7"
   395              memory: 9000Mi
   396            requests:
   397              cpu: "7"
   398              memory: 9000Mi
   399    # mimic pull-kubernetes-e2e-kind, but using kind built in this PR
   400    - skip_if_only_changed: '(^site/)|(^images/)|(^logo/)|(^.github/)|(.md$)|(OWNERS$)|(^SECURITY_CONTACTS$)|(^netlify.toml$)'
   401      optional: false
   402      decorate: true
   403      decoration_config:
   404        grace_period: 15m0s
   405        timeout: 1h0m0s
   406      extra_refs:
   407      - org: kubernetes
   408        repo: kubernetes
   409        base_ref: release-1.26
   410        path_alias: k8s.io/kubernetes
   411      labels:
   412        preset-dind-enabled: "true"
   413        preset-kind-volume-mounts: "true"
   414      name: pull-kind-e2e-kubernetes-1-26
   415      cluster: k8s-infra-prow-build
   416      path_alias: sigs.k8s.io/kind
   417      spec:
   418        containers:
   419        - command:
   420          - wrapper.sh
   421          - bash
   422          - -c
   423          - cd ./../../k8s.io/kubernetes && ./../../sigs.k8s.io/kind/hack/ci/e2e.sh
   424          env:
   425          - name: FOCUS
   426            value: .
   427          - name: SKIP
   428            value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|NFS|nfs|inline.execution.and.attach|should.be.rejected.when.no.endpoints.exist
   429          - name: PARALLEL
   430            value: "true"
   431          image: gcr.io/k8s-staging-test-infra/krte:v20240405-68dde9badf-1.26
   432          name: ""
   433          resources:
   434            limits:
   435              cpu: "7"
   436              memory: 9000Mi
   437            requests:
   438              cpu: "7"
   439              memory: 9000Mi
   440          securityContext:
   441            privileged: true