k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes-sigs/kernel-module-management/kernel-module-management-presubmits.yaml (about) 1 presubmits: 2 kubernetes-sigs/kernel-module-management: 3 - name: pull-kernel-module-management-build 4 cluster: eks-prow-build-cluster 5 always_run: true 6 decorate: true 7 annotations: 8 testgrid-dashboards: sig-node-kernel-module-management 9 testgrid-tab-name: build 10 description: "build the kernel-module-management controller binary." 11 spec: 12 containers: 13 - image: public.ecr.aws/docker/library/golang:1.22 14 command: 15 - ci/prow/build 16 resources: 17 limits: 18 cpu: 1 19 memory: 4Gi 20 requests: 21 cpu: 1 22 memory: 4Gi 23 - name: pull-kernel-module-management-check-api-changes 24 cluster: eks-prow-build-cluster 25 always_run: true 26 decorate: true 27 annotations: 28 testgrid-dashboards: sig-node-kernel-module-management 29 testgrid-tab-name: check-api-changes 30 description: "make sure deployment manifests and bundle are up-to-date." 31 spec: 32 containers: 33 - image: public.ecr.aws/docker/library/golang:1.22-alpine 34 command: [sh] 35 args: 36 - -c 37 - | 38 apk add bash curl gcc git make 39 40 # Install kubectl 41 curl -Lo /usr/local/bin/kubectl "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" 42 chmod +x /usr/local/bin/kubectl 43 44 # Include the destination directory of `go install` in $PATH 45 export PATH=$(go env GOPATH)/bin:${PATH} 46 47 ./ci/prow/check-api-changes 48 env: 49 - name: CGO_ENABLED 50 value: '0' 51 resources: 52 limits: 53 cpu: 1 54 memory: 4Gi 55 requests: 56 cpu: 1 57 memory: 4Gi 58 - name: pull-kernel-module-management-check-commits-count 59 cluster: eks-prow-build-cluster 60 always_run: true 61 decorate: true 62 annotations: 63 testgrid-dashboards: sig-node-kernel-module-management 64 testgrid-tab-name: check-commits-count 65 description: "make sure each PR to kernel-module-management has a single commit." 66 spec: 67 containers: 68 - image: docker.io/bitnami/git 69 command: 70 - ci/prow/check-commits-count 71 resources: 72 limits: 73 cpu: 1 74 memory: 4Gi 75 requests: 76 cpu: 1 77 memory: 4Gi 78 - name: pull-kernel-module-management-lint 79 cluster: eks-prow-build-cluster 80 always_run: true 81 decorate: true 82 annotations: 83 testgrid-dashboards: sig-node-kernel-module-management 84 testgrid-tab-name: lint 85 description: "lint the source code of kernel-module-management." 86 spec: 87 containers: 88 - image: public.ecr.aws/docker/library/golang:1.22 89 command: 90 - ci/prow/lint 91 resources: 92 limits: 93 cpu: 4 94 memory: 4Gi 95 requests: 96 cpu: 4 97 memory: 4Gi 98 - name: pull-kernel-module-management-unit-tests 99 cluster: eks-prow-build-cluster 100 always_run: true 101 decorate: true 102 annotations: 103 testgrid-dashboards: sig-node-kernel-module-management 104 testgrid-tab-name: unit-tests 105 description: "unit-tests the source code of kernel-module-management." 106 spec: 107 containers: 108 - image: public.ecr.aws/docker/library/golang:1.22 109 command: 110 - ci/prow/unit-tests 111 resources: 112 limits: 113 cpu: 4 114 memory: 4Gi 115 requests: 116 cpu: 4 117 memory: 4Gi