k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes-sigs/cluster-api-provider-ibmcloud/cluster-api-provider-ibmcom-periodics-main.yaml (about)

     1  periodics:
     2  - name: periodic-cluster-api-provider-ibmcloud-coverage
     3    cluster: eks-prow-build-cluster
     4    interval: 12h
     5    decorate: true
     6    extra_refs:
     7      - org: kubernetes-sigs
     8        repo: cluster-api-provider-ibmcloud
     9        base_ref: main
    10        path_alias: "sigs.k8s.io/cluster-api-provider-ibmcloud"
    11      - org: kubernetes
    12        repo: test-infra
    13        base_ref: master
    14        path_alias: k8s.io/test-infra
    15    spec:
    16      containers:
    17      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.27
    18        command:
    19          - runner.sh
    20        args:
    21          - bash
    22          - -c
    23          - |
    24            result=0
    25            ./scripts/ci-test-coverage.sh || result=$?
    26            cp cover.* ${ARTIFACTS}
    27            cd ../../k8s.io/test-infra/gopherage
    28            GO111MODULE=on go build .
    29            ./gopherage filter --exclude-path="zz_generated,generated\.go" "${ARTIFACTS}/cover.out" > "${ARTIFACTS}/filtered.cov" || result=$?
    30            ./gopherage html "${ARTIFACTS}/filtered.cov" > "${ARTIFACTS}/coverage.html" || result=$?
    31            ./gopherage junit --threshold 0 "${ARTIFACTS}/filtered.cov" > "${ARTIFACTS}/junit_coverage.xml" || result=$?
    32            exit $result
    33        resources:
    34          limits:
    35            cpu: "2"
    36            memory: "6Gi"
    37          requests:
    38            cpu: "2"
    39            memory: "6Gi"