k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/sig-testing/conformance-e2e.yaml (about)

     1  presubmits:
     2    kubernetes/kubernetes:
     3    # conformance test using image against kubernetes master branch with `kind`
     4    - name: pull-kubernetes-conformance-image-test
     5      cluster: k8s-infra-prow-build
     6      skip_branches:
     7      - release-\d+\.\d+ # per-release settings
     8      always_run: false
     9      skip_report: false
    10      max_concurrency: 8
    11      optional: true
    12      run_if_changed: 'conformance'
    13      labels:
    14        preset-service-account: "true"
    15        preset-dind-enabled: "true"
    16        preset-kind-volume-mounts: "true"
    17      decorate: true
    18      decoration_config:
    19        timeout: 3h
    20      path_alias: k8s.io/kubernetes
    21      extra_refs:
    22      - org: kubernetes
    23        repo: test-infra
    24        base_ref: master
    25        path_alias: k8s.io/test-infra
    26      spec:
    27        containers:
    28        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    29          command:
    30          - runner.sh
    31          args:
    32          # the script must run from kubernetes, but we're checking out kind
    33          - "bash"
    34          - "-c"
    35          - "cd ./../../k8s.io/kubernetes && source ./../test-infra/experiment/kind-conformance-image-e2e.sh"
    36          # we need privileged mode in order to do docker in docker
    37          securityContext:
    38            privileged: true
    39          resources:
    40            limits:
    41              cpu: "4"
    42              memory: 9000Mi
    43            requests:
    44              cpu: "4"
    45              memory: 9000Mi
    46      annotations:
    47        testgrid-create-test-group: 'true'
    48        testgrid-dashboards: sig-testing-misc
    49        description: Runs conformance tests using kind and the conformance image
    50  
    51    - name: pull-kubernetes-conformance-kind-ipv6-parallel
    52      cluster: k8s-infra-prow-build
    53      decorate: true
    54      path_alias: k8s.io/kubernetes
    55      skip_branches:
    56      - release-\d+\.\d+ # per-release settings
    57      always_run: false
    58      skip_report: false
    59      max_concurrency: 8
    60      optional: true
    61      run_if_changed: '^test/'
    62      labels:
    63        preset-service-account: "true"
    64        preset-dind-enabled: "true"
    65        preset-kind-volume-mounts: "true"
    66      spec:
    67        containers:
    68        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
    69          env:
    70          # enable IPV6 in bootstrap image
    71          - name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
    72            value: "true"
    73          # tell kind CI script to use ipv6
    74          - name: "IP_FAMILY"
    75            value: "ipv6"
    76          # skip serial tests and run with --ginkgo-parallel
    77          - name: "PARALLEL"
    78            value: "true"
    79          command:
    80            - wrapper.sh
    81            - bash
    82            - -c
    83            - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
    84          # we need privileged mode in order to do docker in docker
    85          securityContext:
    86            privileged: true
    87          resources:
    88            limits:
    89              cpu: "4"
    90              memory: 9000Mi
    91            requests:
    92              cpu: "4"
    93              memory: 9000Mi
    94      annotations:
    95        fork-per-release: "true"
    96        testgrid-dashboards: sig-testing-kind
    97        description: Use kind to run e2e tests (+Conformance, -Serial) against a latest kubernetes master IPv6 cluster created with sigs.k8s.io/kind
    98        testgrid-alert-email: bentheelder@google.com,antonio.ojea.garcia@gmail.com
    99        testgrid-num-failures-to-alert: "15"
   100  
   101  periodics:
   102  # conformance test using image against kubernetes master branch with `kind`
   103  - interval: 1h
   104    name: ci-kubernetes-conformance-image-test
   105    cluster: k8s-infra-prow-build
   106    labels:
   107      preset-service-account: "true"
   108      preset-dind-enabled: "true"
   109      preset-kind-volume-mounts: "true"
   110    decorate: true
   111    decoration_config:
   112      timeout: 3h
   113    extra_refs:
   114    - org: kubernetes
   115      repo: test-infra
   116      base_ref: master
   117      path_alias: k8s.io/test-infra
   118    - org: kubernetes
   119      repo: kubernetes
   120      base_ref: master
   121      path_alias: k8s.io/kubernetes
   122    spec:
   123      containers:
   124      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   125        command:
   126        - runner.sh
   127        args:
   128        # the script must run from kubernetes, but we're checking out kind
   129        - "bash"
   130        - "-c"
   131        - "cd ./../../k8s.io/kubernetes && source ./../test-infra/experiment/kind-conformance-image-e2e.sh"
   132        # we need privileged mode in order to do docker in docker
   133        securityContext:
   134          privileged: true
   135        resources:
   136          limits:
   137            cpu: "4"
   138            memory: 9000Mi
   139          requests:
   140            cpu: "4"
   141            memory: 9000Mi
   142    # conformance test using image against kubernetes 1.14 branch with `kind`
   143    annotations:
   144      testgrid-dashboards: conformance-all, conformance-kind, sig-testing-kind
   145      testgrid-tab-name: conformance-image, master (dev)
   146      description: Runs conformance tests using image against latest kubernetes master with a kubernetes-in-docker cluster
   147      testgrid-alert-email: davanum@gmail.com
   148      testgrid-num-columns-recent: '3'
   149  
   150  - name: ci-kubernetes-conformance-kind-ga-only
   151    cluster: k8s-infra-prow-build
   152    interval: 12h
   153    decorate: true
   154    labels:
   155      preset-dind-enabled: "true"
   156      preset-kind-volume-mounts: "true"
   157    extra_refs:
   158    - org: kubernetes
   159      repo: kubernetes
   160      base_ref: master
   161      path_alias: k8s.io/kubernetes
   162    decoration_config:
   163      timeout: 200m # allow plenty of time for a serial conformance run
   164    spec:
   165      containers:
   166      - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   167        command:
   168        - wrapper.sh
   169        - bash
   170        - -c
   171        - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   172        env:
   173        - name: GA_ONLY
   174          value: "true"
   175        # we need privileged mode in order to do docker in docker
   176        securityContext:
   177          privileged: true
   178        resources:
   179          limits:
   180            cpu: "4"
   181            memory: 9000Mi
   182          requests:
   183            cpu: "4"
   184            memory: 9000Mi
   185    annotations:
   186      testgrid-num-failures-to-alert: '2'
   187      testgrid-alert-stale-results-hours: '48'
   188      testgrid-dashboards: sig-release-master-blocking, conformance-all, conformance-kind, sig-testing-kind
   189      testgrid-tab-name: conformance-ga-only
   190      testgrid-alert-email: "release-team@kubernetes.io, kubernetes-sig-architecture@googlegroups.com"
   191      description: "OWNER: sig-architecture (conformance); conformance tests run against a master kind cluster with only GA APIs and features enabled"