k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/sig-testing/make-test.yaml (about) 1 presubmits: 2 kubernetes/kubernetes: 3 - name: pull-kubernetes-unit 4 annotations: 5 fork-per-release: "true" 6 testgrid-dashboards: presubmits-kubernetes-blocking 7 decorate: true 8 cluster: k8s-infra-prow-build 9 skip_branches: 10 - release-\d+.\d+ # per-release job 11 labels: 12 preset-service-account: "true" 13 optional: false 14 always_run: true 15 path_alias: k8s.io/kubernetes 16 spec: 17 # unit tests have no business requiring root or doing privileged operations 18 securityContext: 19 # NOTE: these are arbitrary non-root values. They don't exist in the 20 # image and don't need to, the unit tests should only write to TMPDIR 21 runAsUser: 2001 22 runAsGroup: 2010 23 containers: 24 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master 25 securityContext: 26 allowPrivilegeEscalation: false 27 command: 28 - make 29 - test 30 # TODO: direct copy from pull-kubernetes-bazel-test, tune these 31 resources: 32 limits: 33 cpu: 4 34 memory: "36Gi" 35 requests: 36 cpu: 4 37 memory: "36Gi" 38 - name: pull-kubernetes-unit-go-compatibility 39 annotations: 40 fork-per-release: "true" 41 fork-per-release-replacements: "GO_VERSION= -> GO_VERSION={{.GoVersion}}" 42 testgrid-dashboards: presubmits-kubernetes-blocking 43 description: run with GO_VERSION set to the original go version used for this branch 44 decorate: true 45 cluster: k8s-infra-prow-build 46 skip_branches: 47 - .* # per-release job 48 labels: 49 preset-service-account: "true" 50 always_run: true 51 path_alias: k8s.io/kubernetes 52 spec: 53 # unit tests have no business requiring root or doing privileged operations 54 securityContext: 55 # NOTE: these are arbitrary non-root values. They don't exist in the 56 # image and don't need to, the unit tests should only write to TMPDIR 57 runAsUser: 2001 58 runAsGroup: 2010 59 containers: 60 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master 61 securityContext: 62 allowPrivilegeEscalation: false 63 command: 64 - make 65 - test 66 env: 67 - name: GO_VERSION 68 value: "" 69 # TODO: direct copy from pull-kubernetes-bazel-test, tune these 70 resources: 71 limits: 72 cpu: 4 73 memory: "36Gi" 74 requests: 75 cpu: 4 76 memory: "36Gi" 77 - name: pull-kubernetes-unit-experimental 78 # try clonerefs with preclone 79 decoration_config: 80 utility_images: 81 clonerefs: "gcr.io/spiffxp-gke-dev/clonerefs-k8s-preclone:latest" 82 annotations: 83 testgrid-dashboards: sig-testing-misc 84 decorate: true 85 cluster: k8s-infra-prow-build 86 skip_branches: 87 - release-\d+.\d+ # per-release job 88 optional: true 89 always_run: false 90 path_alias: k8s.io/kubernetes 91 spec: 92 # unit tests have no business requiring root or doing privileged operations 93 securityContext: 94 # NOTE: these are arbitrary non-root values. They don't exist in the 95 # image and don't need to, the unit tests should only write to TMPDIR 96 runAsUser: 2001 97 runAsGroup: 2010 98 containers: 99 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:latest-master 100 imagePullPolicy: Always 101 securityContext: 102 allowPrivilegeEscalation: false 103 command: 104 - make 105 - test 106 # TODO: direct copy from pull-kubernetes-bazel-test, tune these 107 resources: 108 limits: 109 cpu: 4 110 memory: "36Gi" 111 requests: 112 cpu: 4 113 memory: "36Gi" 114 - name: pull-kubernetes-unit-go-canary 115 annotations: 116 testgrid-num-failures-to-alert: '10' 117 testgrid-alert-stale-results-hours: '24' 118 testgrid-create-test-group: 'true' 119 testgrid-dashboards: sig-release-releng-informing, sig-testing-canaries 120 decorate: true 121 cluster: k8s-infra-prow-build 122 labels: 123 preset-service-account: "true" 124 always_run: false 125 skip_report: false 126 path_alias: k8s.io/kubernetes 127 spec: 128 # unit tests have no business requiring root or doing privileged operations 129 securityContext: 130 # NOTE: these are arbitrary non-root values. They don't exist in the 131 # image and don't need to, the unit tests should only write to TMPDIR 132 runAsUser: 2001 133 runAsGroup: 2010 134 containers: 135 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-go-canary 136 securityContext: 137 allowPrivilegeEscalation: false 138 command: 139 - make 140 - test 141 # TODO: direct copy from pull-kubernetes-bazel-test, tune these 142 resources: 143 limits: 144 cpu: 4 145 memory: "36Gi" 146 requests: 147 cpu: 4 148 memory: "36Gi" 149 periodics: 150 - interval: 1h 151 name: ci-kubernetes-unit 152 annotations: 153 fork-per-release: "true" 154 testgrid-num-failures-to-alert: '3' 155 testgrid-alert-stale-results-hours: '24' 156 testgrid-days-of-results: '1' 157 testgrid-create-test-group: 'true' 158 testgrid-dashboards: sig-release-master-blocking 159 testgrid-alert-email: kubernetes-sig-testing-alerts@googlegroups.com 160 decorate: true 161 cluster: k8s-infra-prow-build 162 extra_refs: 163 - org: kubernetes 164 repo: kubernetes 165 base_ref: master 166 path_alias: k8s.io/kubernetes 167 spec: 168 # unit tests have no business requiring root or doing privileged operations 169 securityContext: 170 # NOTE: these are arbitrary non-root values. They don't exist in the 171 # image and don't need to, the unit tests should only write to TMPDIR 172 runAsUser: 2001 173 runAsGroup: 2010 174 containers: 175 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master 176 securityContext: 177 allowPrivilegeEscalation: false 178 command: 179 - make 180 - test 181 # TODO: direct copy from pull-kubernetes-bazel-test, tune these 182 resources: 183 limits: 184 cpu: 4 185 memory: "36Gi" 186 requests: 187 cpu: 4 188 memory: "36Gi"