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

     1  # sigs.k8s.io/cloud-provider-kind presubmits
     2  presubmits:
     3    kubernetes-sigs/cloud-provider-kind:
     4    # conformance test against kubernetes master branch with `kind`, skipping
     5    # serial tests so it runs in ~20m
     6    # GA-only variant
     7    - name: pull-cloud-provider-kind-conformance-parallel-ga-only
     8      cluster: k8s-infra-prow-build
     9      labels:
    10        preset-service-account: "true"
    11        preset-dind-enabled: "true"
    12        preset-kind-volume-mounts: "true"
    13      always_run: true
    14      optional: true
    15      decorate: true
    16      extra_refs:
    17      - org: kubernetes
    18        repo: kubernetes
    19        base_ref: master
    20        path_alias: k8s.io/kubernetes
    21      path_alias: sigs.k8s.io/cloud-provider-kind
    22      decoration_config:
    23        timeout: 40m
    24      spec:
    25        containers:
    26        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
    27          env:
    28          # skip serial tests and run with --ginkgo-parallel
    29          - name: "PARALLEL"
    30            value: "true"
    31          - name: FOCUS
    32            value: \[sig-network\]|\[Conformance\]
    33          - name: SKIP
    34            value: \[Feature:(Networking-IPv6|Example|Federation|PerformanceDNS|ServiceCIDRs)\]|GCE|NetworkPolicy|DualStack|LoadBalancer.Service.without.NodePort|type.and.ports.of.a.TCP.service
    35          command:
    36          - wrapper.sh
    37          - bash
    38          - -c
    39          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && $GOPATH/src/sigs.k8s.io/cloud-provider-kind/hack/ci/e2e.sh
    40          # we need privileged mode in order to do docker in docker
    41          securityContext:
    42            privileged: true
    43          resources:
    44            limits:
    45              cpu: "4"
    46              memory: 9000Mi
    47            requests:
    48              cpu: "4"
    49              memory: 9000Mi
    50      annotations:
    51        testgrid-dashboards: sig-testing-kind
    52        testgrid-tab-name: pull-cloud-provider-kind conformance, master (dev) [non-serial]
    53        testgrid-alert-email: bentheelder@google.com,antonio.ojea.garcia@gmail.com
    54    # conformance test against kubernetes master branch with `kind`, skipping
    55    # serial tests so it runs in ~20m
    56    # IPv6 enabled variant
    57    - name: pull-cloud-provider-kind-conformance-parallel-ipv6
    58      cluster: k8s-infra-prow-build
    59      labels:
    60        preset-service-account: "true"
    61        preset-dind-enabled: "true"
    62        preset-kind-volume-mounts: "true"
    63      always_run: true
    64      optional: true
    65      decorate: true
    66      extra_refs:
    67      - org: kubernetes
    68        repo: kubernetes
    69        base_ref: master
    70        path_alias: k8s.io/kubernetes
    71      path_alias: sigs.k8s.io/cloud-provider-kind
    72      decoration_config:
    73        timeout: 40m
    74      spec:
    75        containers:
    76        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
    77          env:
    78          # skip serial tests and run with --ginkgo-parallel
    79          - name: "PARALLEL"
    80            value: "true"
    81          # enable IPV6 in bootstrap image
    82          - name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
    83            value: "true"
    84          # tell kind CI script to use ipv6
    85          - name: "IP_FAMILY"
    86            value: "ipv6"
    87          - name: FOCUS
    88            value: \[sig-network\]|\[Conformance\]
    89          - name: SKIP
    90            value: \[Feature:(Networking-IPv4|Example|Federation|PerformanceDNS|ServiceCIDRs)\]|GCE|NetworkPolicy|DualStack|LoadBalancer.Service.without.NodePort|type.and.ports.of.a.TCP.service|loadbalancer.source.ranges|Internet.connection.for.containers
    91          command:
    92          - wrapper.sh
    93          - bash
    94          - -c
    95          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && $GOPATH/src/sigs.k8s.io/cloud-provider-kind/hack/ci/e2e.sh
    96          # we need privileged mode in order to do docker in docker
    97          securityContext:
    98            privileged: true
    99          resources:
   100            limits:
   101              cpu: "4"
   102              memory: 9000Mi
   103            requests:
   104              cpu: "4"
   105              memory: 9000Mi
   106      annotations:
   107        testgrid-dashboards: sig-testing-kind
   108        testgrid-tab-name: pull-cloud-provider-kind-ipv6 conformance, master (dev) [non-serial]
   109        testgrid-alert-email: bentheelder@google.com,antonio.ojea.garcia@gmail.com
   110    # conformance test against kubernetes master branch with `kind`, skipping
   111    # serial tests so it runs in ~20m
   112    # Dual Stack enabled variant
   113    - name: pull-kind-conformance-parallel-dual-stack-ipv4-ipv6
   114      cluster: k8s-infra-prow-build
   115      always_run: false
   116      optional: true
   117      labels:
   118        preset-dind-enabled: "true"
   119        preset-kind-volume-mounts: "true"
   120      decorate: true
   121      extra_refs:
   122      - org: kubernetes
   123        repo: kubernetes
   124        base_ref: master
   125        path_alias: k8s.io/kubernetes
   126      path_alias: sigs.k8s.io/cloud-provider-kind
   127      decoration_config:
   128        timeout: 40m
   129        grace_period: 15m
   130      spec:
   131        containers:
   132        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   133          command:
   134          - wrapper.sh
   135          - bash
   136          - -c
   137          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && $GOPATH/src/sigs.k8s.io/cloud-provider-kind/hack/ci/e2e.sh
   138          env:
   139          - name: FOCUS
   140            value: \[sig-network\]|\[Conformance\]
   141          - name: SKIP
   142            value: \[Feature:(Networking-IPv6|Example|Federation|PerformanceDNS|ServiceCIDRs)\]|GCE|NetworkPolicy|LoadBalancer.Service.without.NodePort|type.and.ports.of.a.TCP.service
   143          - name: PARALLEL
   144            value: "true"
   145          - name: IP_FAMILY
   146            value: dual
   147          # enable IPV6 in bootstrap image
   148          - name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
   149            value: "true"
   150          # we need privileged mode in order to do docker in docker
   151          securityContext:
   152            privileged: true
   153          resources:
   154            limits:
   155              cpu: "4"
   156              memory: 9000Mi
   157            requests:
   158              cpu: "4"
   159              memory: 9000Mi
   160      annotations:
   161        testgrid-dashboards: sig-testing-kind
   162        testgrid-tab-name: pull-cloud-provider-kind-dual master (dev) [non-serial]
   163        testgrid-alert-email: bentheelder@google.com,antonio.ojea.garcia@gmail.com