k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes-sigs/cluster-api-addon-provider-helm/cluster-api-addon-provider-helm-presubmits-main.yaml (about) 1 presubmits: 2 kubernetes-sigs/cluster-api-addon-provider-helm: 3 - name: pull-cluster-api-addon-provider-helm-build-main 4 cluster: eks-prow-build-cluster 5 decorate: true 6 path_alias: sigs.k8s.io/cluster-api-addon-provider-helm 7 always_run: true 8 branches: 9 # The script this job runs is not in all branches. 10 - ^main$ 11 spec: 12 containers: 13 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29 14 command: 15 - runner.sh 16 - ./scripts/ci-build.sh 17 resources: 18 limits: 19 cpu: 6 20 memory: 16Gi 21 requests: 22 cpu: 6 23 memory: 16Gi 24 annotations: 25 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm 26 testgrid-tab-name: caaph-pr-build-main 27 - name: pull-cluster-api-addon-provider-helm-apidiff-main 28 cluster: eks-prow-build-cluster 29 decorate: true 30 path_alias: sigs.k8s.io/cluster-api-addon-provider-helm 31 always_run: true 32 optional: true 33 branches: 34 # The script this job runs is not in all branches. 35 - ^main$ 36 spec: 37 containers: 38 - command: 39 - runner.sh 40 - ./scripts/ci-apidiff.sh 41 image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29 42 resources: 43 limits: 44 cpu: 6 45 memory: 16Gi 46 requests: 47 cpu: 6 48 memory: 16Gi 49 annotations: 50 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm 51 testgrid-tab-name: caaph-pr-apidiff-main 52 - name: pull-cluster-api-addon-provider-helm-verify-main 53 cluster: eks-prow-build-cluster 54 decorate: true 55 path_alias: sigs.k8s.io/cluster-api-addon-provider-helm 56 always_run: true 57 labels: 58 preset-dind-enabled: "true" 59 branches: 60 # The script this job runs is not in all branches. 61 - ^main$ 62 spec: 63 containers: 64 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29 65 command: 66 - "runner.sh" 67 - ./scripts/ci-verify.sh 68 resources: 69 limits: 70 cpu: 6 71 memory: 16Gi 72 requests: 73 cpu: 6 74 memory: 16Gi 75 securityContext: 76 privileged: true 77 annotations: 78 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm 79 testgrid-tab-name: caaph-pr-verify-main 80 - name: pull-cluster-api-addon-provider-helm-test-main 81 cluster: eks-prow-build-cluster 82 decorate: true 83 path_alias: sigs.k8s.io/cluster-api-addon-provider-helm 84 always_run: true 85 branches: 86 # The script this job runs is not in all branches. 87 - ^main$ 88 spec: 89 containers: 90 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29 91 args: 92 - runner.sh 93 - ./scripts/ci-test.sh 94 resources: 95 limits: 96 cpu: 6 97 memory: 16Gi 98 requests: 99 cpu: 6 100 memory: 16Gi 101 annotations: 102 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm 103 testgrid-tab-name: caaph-pr-test-main 104 - name: pull-cluster-api-addon-provider-helm-test-mink8s-main 105 cluster: eks-prow-build-cluster 106 decorate: true 107 path_alias: sigs.k8s.io/cluster-api-addon-provider-helm 108 always_run: true 109 branches: 110 # The script this job runs is not in all branches. 111 - ^main$ 112 spec: 113 containers: 114 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29 115 args: 116 - runner.sh 117 - ./scripts/ci-test.sh 118 env: 119 # This value determines the minimum Kubernetes 120 # supported version for Cluster API management cluster. 121 # 122 # To check the available envtest in Kubebuilder, please 123 # refer to https://github.com/kubernetes-sigs/kubebuilder/tree/tools-releases. 124 - name: KUBEBUILDER_ENVTEST_KUBERNETES_VERSION 125 value: "1.20.2" 126 resources: 127 limits: 128 cpu: 6 129 memory: 16Gi 130 requests: 131 cpu: 6 132 memory: 16Gi 133 annotations: 134 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm 135 testgrid-tab-name: caaph-pr-test-mink8s-main 136 - name: pull-cluster-api-addon-provider-helm-e2e 137 cluster: eks-prow-build-cluster 138 decorate: true 139 path_alias: sigs.k8s.io/cluster-api-addon-provider-helm 140 optional: false 141 skip_if_only_changed: "^docs/|^\\.github/|\\.md$|^(\\.codespellignore|LICENSE|OWNERS|OWNERS_ALIASES|PROJECT|SECURITY_CONTACTS|Tiltfile|Makefile|metadata\\.yaml|netlify\\.toml|tilt-provider\\.json)$" 142 max_concurrency: 5 143 labels: 144 preset-dind-enabled: "true" 145 preset-kind-volume-mounts: "true" 146 branches: 147 - ^main$ 148 spec: 149 containers: 150 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29 151 command: 152 - runner.sh 153 args: 154 - ./scripts/ci-e2e.sh 155 env: 156 - name: GINKGO_FOCUS 157 value: \[REQUIRED\] 158 - name: GINKGO_SKIP 159 value: "" 160 resources: 161 limits: 162 cpu: 2 163 memory: 4Gi 164 requests: 165 cpu: 2 166 memory: 4Gi 167 # docker-in-docker needs privileged mode 168 securityContext: 169 privileged: true 170 annotations: 171 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm 172 testgrid-tab-name: caaph-pr-e2e-main 173 - name: pull-cluster-api-addon-provider-helm-capi-e2e 174 cluster: eks-prow-build-cluster 175 labels: 176 preset-dind-enabled: "true" 177 preset-kind-volume-mounts: "true" 178 decorate: true 179 path_alias: sigs.k8s.io/cluster-api-addon-provider-helm 180 always_run: false 181 run_if_changed: 'test\/e2e\/capi_test.go|scripts\/ci-e2e.sh|^go.mod' 182 optional: true 183 branches: 184 # The script this job runs is not in all branches. 185 - ^main$ 186 spec: 187 containers: 188 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29 189 args: 190 - runner.sh 191 - "./scripts/ci-e2e.sh" 192 env: 193 - name: GINKGO_FOCUS 194 value: "Cluster API E2E tests" 195 - name: GINKGO_SKIP 196 value: "\\[K8s-Upgrade\\]|API Version Upgrade" 197 # we need privileged mode in order to do docker in docker 198 securityContext: 199 privileged: true 200 resources: 201 requests: 202 cpu: 7300m 203 memory: 32Gi 204 limits: 205 cpu: 7300m 206 memory: 32Gi 207 annotations: 208 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm 209 testgrid-tab-name: caaph-pr-capi-e2e-main 210 - name: pull-cluster-api-addon-provider-helm-e2e-workload-upgrade 211 cluster: eks-prow-build-cluster 212 labels: 213 preset-dind-enabled: "true" 214 preset-kind-volume-mounts: "true" 215 decorate: true 216 decoration_config: 217 timeout: 4h 218 path_alias: sigs.k8s.io/cluster-api-addon-provider-helm 219 optional: true 220 always_run: false 221 branches: 222 - ^main$ 223 extra_refs: 224 - org: kubernetes 225 repo: kubernetes 226 base_ref: master 227 path_alias: k8s.io/kubernetes 228 spec: 229 containers: 230 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29 231 args: 232 - runner.sh 233 - "./scripts/ci-e2e.sh" 234 env: 235 - name: GINKGO_FOCUS 236 value: "\\[K8s-Upgrade\\]" 237 # we need privileged mode in order to do docker in docker 238 securityContext: 239 privileged: true 240 resources: 241 limits: 242 cpu: 2 243 memory: 4Gi 244 requests: 245 cpu: 2 246 memory: 4Gi 247 annotations: 248 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm 249 testgrid-tab-name: caaph-pr-e2e-upgrade 250 - name: pull-cluster-api-addon-provider-helm-apiversion-upgrade 251 cluster: eks-prow-build-cluster 252 labels: 253 preset-dind-enabled: "true" 254 preset-kind-volume-mounts: "true" 255 decorate: true 256 path_alias: sigs.k8s.io/cluster-api-addon-provider-helm 257 run_if_changed: '^test\/e2e\/(config\/helm\.yaml)|(data\/shared\/v1beta1-provider\/metadata\.yaml)$' 258 optional: true 259 always_run: false 260 branches: 261 - ^main$ 262 extra_refs: 263 - org: kubernetes 264 repo: kubernetes 265 base_ref: master 266 path_alias: k8s.io/kubernetes 267 spec: 268 containers: 269 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29 270 args: 271 - runner.sh 272 - "./scripts/ci-e2e.sh" 273 env: 274 - name: GINKGO_FOCUS 275 value: "API Version Upgrade" 276 # we need privileged mode in order to do docker in docker 277 securityContext: 278 privileged: true 279 resources: 280 limits: 281 cpu: 2 282 memory: 4Gi 283 requests: 284 cpu: 2 285 memory: 4Gi 286 annotations: 287 testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm 288 testgrid-tab-name: caaph-pr-apiversion-upgrade-main 289 description: This job creates clusters with an older version of Cluster API and Cluster API Add-on Provider Helm, then upgrades them to the latest version of Cluster API and to the main branch of Cluster API Add-on Provider Helm.