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

     1  periodics:
     2  # conformance test against kubernetes master branch with `kind` and auditlogs
     3  # Other than annotations and modified ci-audit-logging e2e-k8s.sh
     4  # This should be the same as ci-kubernetes-kind-conformance
     5  - interval: 3h
     6    name: ci-audit-kind-conformance
     7    cluster: k8s-infra-prow-build
     8    labels:
     9      preset-service-account: "true"
    10      preset-dind-enabled: "true"
    11      preset-kind-volume-mounts: "true"
    12    decorate: true
    13    decoration_config:
    14      timeout: 150m
    15    extra_refs:
    16    - org: kubernetes
    17      repo: kubernetes
    18      base_ref: master
    19      path_alias: k8s.io/kubernetes
    20    spec:
    21      containers:
    22      - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
    23        command:
    24          - wrapper.sh
    25          - bash
    26          - -c
    27          -
    28              curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/"
    29              && curl -sO https://raw.githubusercontent.com/ii/kind/ci-audit-logging/hack/ci/e2e-k8s.sh
    30              && bash e2e-k8s.sh
    31        env:
    32        # don't retry conformance tests
    33        - name: GINKGO_TOLERATE_FLAKES
    34          value: "n"
    35        - name: BUILD_TYPE
    36          value: docker
    37        # we need privileged mode in order to do docker in docker
    38        securityContext:
    39          privileged: true
    40        resources:
    41          # these are both a bit below peak usage during build
    42          # this is mostly for building kubernetes
    43          limits:
    44            cpu: 2000m
    45            memory: "9000Mi"
    46          requests:
    47            # during the tests more like 3-20m is used
    48            cpu: 2000m
    49            memory: "9000Mi"
    50    annotations:
    51      testgrid-dashboards: sig-arch-conformance
    52      testgrid-tab-name: kind-conformance-audit
    53      test-grid-alert-email: kubernetes-sig-arch-conformance-test-failures@googlegroups.com
    54      testgrid-num-failures-to-alert: '1'
    55      description: 'Uses patched ci-kubernetes-kind-conformance job to generate ARTIFACT/audit/audit.log'