From 54933a4484fe3561f0c204e7bbea8da4f739d71f Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Tue, 9 Jan 2024 13:34:26 +0100 Subject: [PATCH] cluster-api: introduce prowjob-generator configuration and generate prowjobs --- .../cluster-api-periodics-main-upgrades.yaml | 146 +++--- .../cluster-api-periodics-main.yaml | 1 + ...er-api-periodics-release-1-4-upgrades.yaml | 445 +++++++++--------- .../cluster-api-periodics-release-1-4.yaml | 173 +++---- ...er-api-periodics-release-1-5-upgrades.yaml | 170 +++---- .../cluster-api-periodics-release-1-5.yaml | 7 +- ...er-api-periodics-release-1-6-upgrades.yaml | 142 +++--- .../cluster-api-periodics-release-1-6.yaml | 3 +- .../cluster-api-presubmits-main.yaml | 6 +- .../cluster-api-presubmits-release-1-4.yaml | 341 +++++++------- .../cluster-api-presubmits-release-1-5.yaml | 10 +- .../cluster-api-presubmits-release-1-6.yaml | 4 + .../cluster-api/cluster-api-prowjob-gen.yaml | 135 ++++++ .../cluster-api-periodics-upgrades.yaml.tpl | 57 +++ .../templates/cluster-api-periodics.yaml.tpl | 218 +++++++++ .../templates/cluster-api-presubmits.yaml.tpl | 418 ++++++++++++++++ 16 files changed, 1566 insertions(+), 710 deletions(-) create mode 100644 config/jobs/kubernetes-sigs/cluster-api/cluster-api-prowjob-gen.yaml create mode 100644 config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-periodics-upgrades.yaml.tpl create mode 100644 config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-periodics.yaml.tpl create mode 100644 config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-presubmits.yaml.tpl diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-main-upgrades.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-main-upgrades.yaml index 416fc2f4dc1fe..838a661009bae 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-main-upgrades.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-main-upgrades.yaml @@ -1,5 +1,5 @@ +# Code generated by cluster-api's prowjob-gen. DO NOT EDIT. periodics: - - name: periodic-cluster-api-e2e-workload-upgrade-1-24-1-25-main cluster: eks-prow-build-cluster interval: 24h @@ -12,43 +12,43 @@ periodics: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: main - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: main + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.29 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.24" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.25" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.4-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.9.3" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.29 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.24" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.25" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.4-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.9.3" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api testgrid-tab-name: capi-e2e-main-1-24-1-25 @@ -67,43 +67,43 @@ periodics: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: main - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: main + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.29 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.25" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.26" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.6-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.9.3" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.29 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.25" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.26" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.6-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.9.3" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api testgrid-tab-name: capi-e2e-main-1-25-1-26 @@ -275,7 +275,7 @@ periodics: testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io testgrid-num-failures-to-alert: "4" -- name: periodic-cluster-api-e2e-workload-upgrade-1-29-latest-main +- name: periodic-cluster-api-e2e-workload-upgrade-1-29-1-30-main cluster: eks-prow-build-cluster interval: 24h decorate: true @@ -326,6 +326,6 @@ periodics: memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api - testgrid-tab-name: capi-e2e-main-1-29-latest + testgrid-tab-name: capi-e2e-main-1-29-1-30 testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io testgrid-num-failures-to-alert: "4" diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-main.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-main.yaml index cd5918ee0dcf4..c370c5614b593 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-main.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-main.yaml @@ -1,3 +1,4 @@ +# Code generated by cluster-api's prowjob-gen. DO NOT EDIT. periodics: - name: periodic-cluster-api-test-main cluster: eks-prow-build-cluster diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-4-upgrades.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-4-upgrades.yaml index 0ddbb2699963b..362588d962ef7 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-4-upgrades.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-4-upgrades.yaml @@ -1,3 +1,4 @@ +# Code generated by cluster-api's prowjob-gen. DO NOT EDIT. periodics: - name: periodic-cluster-api-e2e-workload-upgrade-1-21-1-22-release-1-4 cluster: eks-prow-build-cluster @@ -5,49 +6,49 @@ periodics: decorate: true rerun_auth_config: github_team_slugs: - - org: kubernetes-sigs - slug: cluster-api-maintainers + - org: kubernetes-sigs + slug: cluster-api-maintainers labels: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.4 - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.4 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.21" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.22" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.3-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.8.4" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.21" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.22" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.3-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.8.4" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-e2e-release-1-4-1-21-1-22 @@ -60,49 +61,49 @@ periodics: decorate: true rerun_auth_config: github_team_slugs: - - org: kubernetes-sigs - slug: cluster-api-maintainers + - org: kubernetes-sigs + slug: cluster-api-maintainers labels: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.4 - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.4 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.22" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.23" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.3-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.8.6" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.22" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.23" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.3-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.8.6" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-e2e-release-1-4-1-22-1-23 @@ -115,49 +116,49 @@ periodics: decorate: true rerun_auth_config: github_team_slugs: - - org: kubernetes-sigs - slug: cluster-api-maintainers + - org: kubernetes-sigs + slug: cluster-api-maintainers labels: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.4 - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.4 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.23" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.24" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.3-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.8.6" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.23" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.24" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.3-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.8.6" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-e2e-release-1-4-1-23-1-24 @@ -170,49 +171,49 @@ periodics: decorate: true rerun_auth_config: github_team_slugs: - - org: kubernetes-sigs - slug: cluster-api-maintainers + - org: kubernetes-sigs + slug: cluster-api-maintainers labels: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.4 - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.4 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.24" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.25" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.4-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.9.3" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.24" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.25" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.4-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.9.3" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-e2e-release-1-4-1-24-1-25 @@ -225,49 +226,49 @@ periodics: decorate: true rerun_auth_config: github_team_slugs: - - org: kubernetes-sigs - slug: cluster-api-maintainers + - org: kubernetes-sigs + slug: cluster-api-maintainers labels: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.4 - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.4 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.25" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.26" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.6-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.9.3" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.25" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.26" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.6-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.9.3" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-e2e-release-1-4-1-25-1-26 @@ -280,49 +281,49 @@ periodics: decorate: true rerun_auth_config: github_team_slugs: - - org: kubernetes-sigs - slug: cluster-api-maintainers + - org: kubernetes-sigs + slug: cluster-api-maintainers labels: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.4 - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.4 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.26" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.27" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.6-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.9.3" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.26" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.27" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.6-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.9.3" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-e2e-release-1-4-1-26-1-27 diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-4.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-4.yaml index 5076aa37099af..857d0f4671e26 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-4.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-4.yaml @@ -1,3 +1,4 @@ +# Code generated by cluster-api's prowjob-gen. DO NOT EDIT. periodics: - name: periodic-cluster-api-test-release-1-4 cluster: eks-prow-build-cluster @@ -5,26 +6,26 @@ periodics: decorate: true rerun_auth_config: github_team_slugs: - - org: kubernetes-sigs - slug: cluster-api-maintainers - extra_refs: - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.4 - path_alias: sigs.k8s.io/cluster-api + slug: cluster-api-maintainers + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.4 + path_alias: sigs.k8s.io/cluster-api spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - command: - - runner.sh - - ./scripts/ci-test.sh - resources: - requests: - cpu: 7300m - memory: 9Gi - limits: - cpu: 7300m - memory: 9Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + command: + - runner.sh + - ./scripts/ci-test.sh + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-test-release-1-4 @@ -36,34 +37,36 @@ periodics: decorate: true rerun_auth_config: github_team_slugs: - - org: kubernetes-sigs - slug: cluster-api-maintainers - extra_refs: - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.4 - path_alias: sigs.k8s.io/cluster-api + slug: cluster-api-maintainers + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.4 + path_alias: sigs.k8s.io/cluster-api spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - command: - - runner.sh - - ./scripts/ci-test.sh - env: - # This value determines the minimum Kubernetes - # supported version for Cluster API management cluster. - # - # To check the available envtest in Kubebuilder, please - # refer to https://github.com/kubernetes-sigs/kubebuilder/tree/tools-releases. - - name: KUBEBUILDER_ENVTEST_KUBERNETES_VERSION - value: "1.23.5" - resources: - requests: - cpu: 7300m - memory: 9Gi - limits: - cpu: 7300m - memory: 9Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + command: + - runner.sh + - ./scripts/ci-test.sh + env: + # This value determines the minimum Kubernetes + # supported version for Cluster API management cluster + # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions) + # docs (look for minimum supported k8s version for management cluster, i.e N-3). + # + # To check the latest available envtest in Kubebuilder for the minor version we determined above, please + # refer to https://github.com/kubernetes-sigs/kubebuilder/tree/tools-releases. + - name: KUBEBUILDER_ENVTEST_KUBERNETES_VERSION + value: "1.23.5" + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-test-mink8s-release-1-4 @@ -75,20 +78,20 @@ periodics: decorate: true rerun_auth_config: github_team_slugs: - - org: kubernetes-sigs - slug: cluster-api-maintainers + - org: kubernetes-sigs + slug: cluster-api-maintainers labels: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.4 - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.4 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 @@ -119,43 +122,47 @@ periodics: decorate: true rerun_auth_config: github_team_slugs: - - org: kubernetes-sigs - slug: cluster-api-maintainers + - org: kubernetes-sigs + slug: cluster-api-maintainers labels: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.4 - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.4 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: GINKGO_SKIP - value: "\\[Conformance\\] \\[K8s-Upgrade\\]|\\[IPv6\\]" - # This value determines the minimum Kubernetes - # supported version for Cluster API management cluster. - - name: KUBERNETES_VERSION_MANAGEMENT - value: "v1.23.17" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: GINKGO_SKIP + value: "\\[Conformance\\] \\[K8s-Upgrade\\]|\\[IPv6\\]" + # This value determines the minimum Kubernetes + # supported version for Cluster API management cluster + # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions) + # docs (look for minimum supported k8s version for management cluster, i.e N-3). + # Please also make sure to refer a version where a kindest/node image exists + # for (see https://github.com/kubernetes-sigs/kind/releases/) + - name: KUBERNETES_VERSION_MANAGEMENT + value: "v1.23.17" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-e2e-mink8s-release-1-4 diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-5-upgrades.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-5-upgrades.yaml index 5c25f50158797..3b3231d0ff232 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-5-upgrades.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-5-upgrades.yaml @@ -1,5 +1,5 @@ +# Code generated by cluster-api's prowjob-gen. DO NOT EDIT. periodics: - - name: periodic-cluster-api-e2e-workload-upgrade-1-22-1-23-release-1-5 cluster: eks-prow-build-cluster interval: 24h @@ -24,21 +24,21 @@ periodics: containers: - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.27 args: - - runner.sh - - "./scripts/ci-e2e.sh" + - runner.sh + - "./scripts/ci-e2e.sh" env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.22" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.23" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.3-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.8.6" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.22" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.23" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.3-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.8.6" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" # we need privileged mode in order to do docker in docker securityContext: privileged: true @@ -122,43 +122,43 @@ periodics: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.5 - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.5 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.27 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.24" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.25" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.4-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.9.3" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.27 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.24" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.25" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.4-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.9.3" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.5 testgrid-tab-name: capi-e2e-release-1-5-1-24-1-25 @@ -177,43 +177,43 @@ periodics: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.5 - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.5 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.27 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.25" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.26" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.6-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.9.3" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.27 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.25" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.26" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.6-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.9.3" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.5 testgrid-tab-name: capi-e2e-release-1-5-1-25-1-26 diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-5.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-5.yaml index 0bab0da5431be..61520ad515699 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-5.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-5.yaml @@ -1,3 +1,4 @@ +# Code generated by cluster-api's prowjob-gen. DO NOT EDIT. periodics: - name: periodic-cluster-api-test-release-1-5 cluster: eks-prow-build-cluster @@ -192,7 +193,11 @@ periodics: - name: GINKGO_SKIP value: "\\[Conformance\\] \\[K8s-Upgrade\\]|\\[IPv6\\]" # This value determines the minimum Kubernetes - # supported version for Cluster API management cluster. + # supported version for Cluster API management cluster + # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions) + # docs (look for minimum supported k8s version for management cluster, i.e N-3). + # Please also make sure to refer a version where a kindest/node image exists + # for (see https://github.com/kubernetes-sigs/kind/releases/) - name: KUBERNETES_VERSION_MANAGEMENT value: "v1.24.15" # we need privileged mode in order to do docker in docker diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-6-upgrades.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-6-upgrades.yaml index f37b04248f8e3..f9dfd35746f93 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-6-upgrades.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-6-upgrades.yaml @@ -1,5 +1,5 @@ +# Code generated by cluster-api's prowjob-gen. DO NOT EDIT. periodics: - - name: periodic-cluster-api-e2e-workload-upgrade-1-23-1-24-release-1-6 cluster: eks-prow-build-cluster interval: 24h @@ -67,43 +67,43 @@ periodics: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.6 - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.6 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.28 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.24" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.25" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.4-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.9.3" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.28 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.24" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.25" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.4-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.9.3" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.6 testgrid-tab-name: capi-e2e-release-1-6-1-24-1-25 @@ -122,43 +122,43 @@ periodics: preset-dind-enabled: "true" preset-kind-volume-mounts: "true" extra_refs: - - org: kubernetes-sigs - repo: cluster-api - base_ref: release-1.6 - path_alias: sigs.k8s.io/cluster-api - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.6 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.28 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.25" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.26" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.6-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.9.3" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.28 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.25" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.26" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.6-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.9.3" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.6 testgrid-tab-name: capi-e2e-release-1-6-1-25-1-26 diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-6.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-6.yaml index fc0346a46612c..ab592746b74e5 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-6.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-6.yaml @@ -1,3 +1,4 @@ +# Code generated by cluster-api's prowjob-gen. DO NOT EDIT. periodics: - name: periodic-cluster-api-test-release-1-6 cluster: eks-prow-build-cluster @@ -196,7 +197,7 @@ periodics: # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions) # docs (look for minimum supported k8s version for management cluster, i.e N-3). # Please also make sure to refer a version where a kindest/node image exists - # for (see https://github.com/kubernetes-sigs/kind/releases/tag) + # for (see https://github.com/kubernetes-sigs/kind/releases/) - name: KUBERNETES_VERSION_MANAGEMENT value: "v1.25.11@sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8" # we need privileged mode in order to do docker in docker diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-main.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-main.yaml index c8bcb15d9343f..030e2cfb09348 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-main.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-main.yaml @@ -1,3 +1,4 @@ +# Code generated by cluster-api's prowjob-gen. DO NOT EDIT. presubmits: kubernetes-sigs/cluster-api: - name: pull-cluster-api-build-main @@ -248,6 +249,7 @@ presubmits: annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api testgrid-tab-name: capi-pr-e2e-full-dualstack-and-ipv6-main + - name: pull-cluster-api-e2e-full-main cluster: eks-prow-build-cluster labels: @@ -284,7 +286,7 @@ presubmits: annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api testgrid-tab-name: capi-pr-e2e-full-main - - name: pull-cluster-api-e2e-workload-upgrade-1-29-latest-main + - name: pull-cluster-api-e2e-workload-upgrade-1-29-1-30-main cluster: eks-prow-build-cluster labels: preset-dind-enabled: "true" @@ -331,4 +333,4 @@ presubmits: memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api - testgrid-tab-name: capi-pr-e2e-main-1-29-latest + testgrid-tab-name: capi-pr-e2e-main-1-29-1-30 diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-4.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-4.yaml index d1717f6026cc7..2b5f4fc8b3fd0 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-4.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-4.yaml @@ -1,3 +1,4 @@ +# Code generated by cluster-api's prowjob-gen. DO NOT EDIT. presubmits: kubernetes-sigs/cluster-api: - name: pull-cluster-api-build-release-1-4 @@ -6,21 +7,21 @@ presubmits: path_alias: sigs.k8s.io/cluster-api always_run: true branches: - # The script this job runs is not in all branches. - - ^release-1.4$ + # The script this job runs is not in all branches. + - ^release-1.4$ spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - command: - - runner.sh - - ./scripts/ci-build.sh - resources: - requests: - cpu: 7300m - memory: 9Gi - limits: - cpu: 7300m - memory: 9Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + command: + - runner.sh + - ./scripts/ci-build.sh + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-pr-build-release-1-4 @@ -30,22 +31,22 @@ presubmits: path_alias: sigs.k8s.io/cluster-api optional: true branches: - # The script this job runs is not in all branches. - - ^release-1.4$ + # The script this job runs is not in all branches. + - ^release-1.4$ run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' spec: containers: - - command: - - runner.sh - - ./scripts/ci-apidiff.sh - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - resources: - requests: - cpu: 7300m - memory: 9Gi - limits: - cpu: 7300m - memory: 9Gi + - command: + - runner.sh + - ./scripts/ci-apidiff.sh + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-pr-apidiff-release-1-4 @@ -57,23 +58,23 @@ presubmits: labels: preset-dind-enabled: "true" branches: - # The script this job runs is not in all branches. - - ^release-1.4$ + # The script this job runs is not in all branches. + - ^release-1.4$ spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - command: - - "runner.sh" - - ./scripts/ci-verify.sh - resources: - requests: - cpu: 7300m - memory: 9Gi - limits: - cpu: 7300m - memory: 9Gi - securityContext: - privileged: true + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + command: + - "runner.sh" + - ./scripts/ci-verify.sh + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi + securityContext: + privileged: true annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-pr-verify-release-1-4 @@ -82,22 +83,22 @@ presubmits: decorate: true path_alias: sigs.k8s.io/cluster-api branches: - # The script this job runs is not in all branches. - - ^release-1.4$ + # The script this job runs is not in all branches. + - ^release-1.4$ run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - ./scripts/ci-test.sh - resources: - requests: - cpu: 7300m - memory: 9Gi - limits: - cpu: 7300m - memory: 9Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - ./scripts/ci-test.sh + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-pr-test-release-1-4 @@ -105,31 +106,33 @@ presubmits: cluster: eks-prow-build-cluster decorate: true path_alias: sigs.k8s.io/cluster-api + always_run: false branches: - # The script this job runs is not in all branches. - - ^release-1.4$ - run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' + # The script this job runs is not in all branches. + - ^release-1.4$ spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - ./scripts/ci-test.sh - env: - # This value determines the minimum Kubernetes - # supported version for Cluster API management cluster. - # - # To check the available envtest in Kubebuilder, please - # refer to https://github.com/kubernetes-sigs/kubebuilder/tree/tools-releases. - - name: KUBEBUILDER_ENVTEST_KUBERNETES_VERSION - value: "1.23.5" - resources: - requests: - cpu: 7300m - memory: 9Gi - limits: - cpu: 7300m - memory: 9Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - ./scripts/ci-test.sh + env: + # This value determines the minimum Kubernetes + # supported version for Cluster API management cluster + # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions) + # docs (look for minimum supported k8s version for management cluster, i.e N-3). + # + # To check the latest available envtest in Kubebuilder for the minor version we determined above, please + # refer to https://github.com/kubernetes-sigs/kubebuilder/tree/tools-releases. + - name: KUBEBUILDER_ENVTEST_KUBERNETES_VERSION + value: "1.23.5" + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-pr-test-mink8s-release-1-4 @@ -140,29 +143,29 @@ presubmits: preset-kind-volume-mounts: "true" decorate: true branches: - # The script this job runs is not in all branches. - - ^release-1.4$ + # The script this job runs is not in all branches. + - ^release-1.4$ path_alias: sigs.k8s.io/cluster-api run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: GINKGO_FOCUS - value: "\\[PR-Blocking\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: GINKGO_FOCUS + value: "\\[PR-Blocking\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-pr-e2e-release-1-4 @@ -180,25 +183,25 @@ presubmits: run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: GINKGO_FOCUS - value: "\\[PR-Informing\\]" - - name: GINKGO_SKIP - value: "\\[IPv6\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: GINKGO_FOCUS + value: "\\[PR-Informing\\]" + - name: GINKGO_SKIP + value: "\\[IPv6\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-pr-e2e-informing-release-1-4 @@ -249,31 +252,31 @@ presubmits: decorate: true always_run: false branches: - # The script this job runs is not in all branches. - - ^release-1.4$ + # The script this job runs is not in all branches. + - ^release-1.4$ path_alias: sigs.k8s.io/cluster-api spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - # Since the PR-Blocking tests are run as part of the cluster-api-e2e job - # and the upgrade tests are being run as part of the periodic upgrade jobs. - # This jobs ends up running all the other tests in the E2E suite - - name: GINKGO_SKIP - value: "\\[PR-Blocking\\] \\[Conformance\\] \\[K8s-Upgrade\\]|\\[IPv6\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + # Since the PR-Blocking tests are run as part of the cluster-api-e2e job + # and the upgrade tests are being run as part of the periodic upgrade jobs. + # This jobs ends up running all the other tests in the E2E suite + - name: GINKGO_SKIP + value: "\\[PR-Blocking\\] \\[Conformance\\] \\[K8s-Upgrade\\]|\\[IPv6\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-pr-e2e-full-release-1-4 @@ -285,43 +288,43 @@ presubmits: decorate: true always_run: false branches: - # The script this job runs is not in all branches. - - ^release-1.4$ + # The script this job runs is not in all branches. + - ^release-1.4$ path_alias: sigs.k8s.io/cluster-api extra_refs: - - org: kubernetes - repo: kubernetes - base_ref: master - path_alias: k8s.io/kubernetes + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 - args: - - runner.sh - - "./scripts/ci-e2e.sh" - env: - - name: ALWAYS_BUILD_KIND_IMAGES - value: "true" - - name: KUBERNETES_VERSION_UPGRADE_FROM - value: "stable-1.26" - - name: KUBERNETES_VERSION_UPGRADE_TO - value: "stable-1.27" - - name: ETCD_VERSION_UPGRADE_TO - value: "3.5.6-0" - - name: COREDNS_VERSION_UPGRADE_TO - value: "v1.9.3" - - name: GINKGO_FOCUS - value: "\\[K8s-Upgrade\\]" - # we need privileged mode in order to do docker in docker - securityContext: - privileged: true - resources: - requests: - cpu: 7300m - memory: 32Gi - limits: - cpu: 7300m - memory: 32Gi + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.26" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.27" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.6-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.9.3" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.4 testgrid-tab-name: capi-pr-e2e-release-1-4-1-26-1-27 diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-5.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-5.yaml index ed02064a7d43e..edccc67052f90 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-5.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-5.yaml @@ -1,3 +1,4 @@ +# Code generated by cluster-api's prowjob-gen. DO NOT EDIT. presubmits: kubernetes-sigs/cluster-api: - name: pull-cluster-api-build-release-1-5 @@ -38,6 +39,7 @@ presubmits: - command: - runner.sh - ./scripts/ci-apidiff.sh + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.27 resources: requests: cpu: 7300m @@ -45,7 +47,6 @@ presubmits: limits: cpu: 7300m memory: 9Gi - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.27 annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.5 testgrid-tab-name: capi-pr-apidiff-release-1-5 @@ -159,6 +160,8 @@ presubmits: # supported version for Cluster API management cluster # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions) # docs (look for minimum supported k8s version for management cluster, i.e N-3). + # Please also make sure to refer a version where a kindest/node image exists + # for (see https://github.com/kubernetes-sigs/kind/releases/) - name: KUBERNETES_VERSION_MANAGEMENT value: "v1.24.15" # we need privileged mode in order to do docker in docker @@ -215,8 +218,8 @@ presubmits: decorate: true optional: true branches: - # The script this job runs is not in all branches. - - ^release-1.5$ + # The script this job runs is not in all branches. + - ^release-1.5$ path_alias: sigs.k8s.io/cluster-api run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' spec: @@ -280,6 +283,7 @@ presubmits: annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.5 testgrid-tab-name: capi-pr-e2e-full-dualstack-and-ipv6-release-1-5 + - name: pull-cluster-api-e2e-full-release-1-5 cluster: eks-prow-build-cluster labels: diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-6.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-6.yaml index 2827591974994..4feef92017267 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-6.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-6.yaml @@ -1,3 +1,4 @@ +# Code generated by cluster-api's prowjob-gen. DO NOT EDIT. presubmits: kubernetes-sigs/cluster-api: - name: pull-cluster-api-build-release-1-6 @@ -159,6 +160,8 @@ presubmits: # supported version for Cluster API management cluster # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions) # docs (look for minimum supported k8s version for management cluster, i.e N-3). + # Please also make sure to refer a version where a kindest/node image exists + # for (see https://github.com/kubernetes-sigs/kind/releases/) - name: KUBERNETES_VERSION_MANAGEMENT value: "v1.25.11@sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8" # we need privileged mode in order to do docker in docker @@ -246,6 +249,7 @@ presubmits: annotations: testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.6 testgrid-tab-name: capi-pr-e2e-full-dualstack-and-ipv6-release-1-6 + - name: pull-cluster-api-e2e-full-release-1-6 cluster: eks-prow-build-cluster labels: diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-prowjob-gen.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-prowjob-gen.yaml new file mode 100644 index 0000000000000..53145f97ff7b2 --- /dev/null +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-prowjob-gen.yaml @@ -0,0 +1,135 @@ +# This is the configuration file for cluster-apis prowjob-generator which is located +# at: https://github.com/kubernetes-sigs/cluster-api/blob/main/hack/tools/prowjob-generator/ +# This configuration is used to generate the presubmits and periodics for cluster-api. + +# prow_ignored is a well known, unparsed field where non-Prow fields can +# be defined without conflicting with unknown field validation. +prow_ignored: + # Branch specific configuration: for each configured branch the generator will create three + # prowjob configuration files (presubmits, periodics, peridocs for upgrade tests) + branches: + main: + kubekinsImage: "gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.29" + interval: "2h" + kubernetesVersionManagement: "v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb" + kubebuilderEnvtestKubernetesVersion: "1.26.1" + upgrades: + - from: "1.24" + to: "1.25" + - from: "1.25" + to: "1.26" + - from: "1.26" + to: "1.27" + - from: "1.27" + to: "1.28" + - from: "1.28" + to: "1.29" + - from: "1.29" + to: "1.30" + release-1.6: + kubekinsImage: "gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.28" + interval: "4h" + kubernetesVersionManagement: "v1.25.11@sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8" + kubebuilderEnvtestKubernetesVersion: "1.25.0" + upgrades: + - from: "1.23" + to: "1.24" + - from: "1.24" + to: "1.25" + - from: "1.25" + to: "1.26" + - from: "1.26" + to: "1.27" + - from: "1.27" + to: "1.28" + - from: "1.28" + to: "1.29" + release-1.5: + kubekinsImage: "gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.27" + interval: "4h" + kubernetesVersionManagement: "v1.24.15" + kubebuilderEnvtestKubernetesVersion: "1.24.2" + upgrades: + - from: "1.22" + to: "1.23" + - from: "1.23" + to: "1.24" + - from: "1.24" + to: "1.25" + - from: "1.25" + to: "1.26" + - from: "1.26" + to: "1.27" + - from: "1.27" + to: "1.28" + release-1.4: + kubekinsImage: "gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.26" + interval: "4h" + kubernetesVersionManagement: "v1.23.17" + kubebuilderEnvtestKubernetesVersion: "1.23.5" + upgrades: + - from: "1.21" + to: "1.22" + - from: "1.22" + to: "1.23" + - from: "1.23" + to: "1.24" + - from: "1.24" + to: "1.25" + - from: "1.25" + to: "1.26" + - from: "1.26" + to: "1.27" + + # The generator will run each template per branch and use a filename friendly + # branch variable to format the target filename. + templates: + - name: "cluster-api-periodics.yaml.tpl" + format: "cluster-api-periodics-%s.yaml" + - name: "cluster-api-periodics-upgrades.yaml.tpl" + format: "cluster-api-periodics-%s-upgrades.yaml" + - name: "cluster-api-presubmits.yaml.tpl" + format: "cluster-api-presubmits-%s.yaml" + + # Versions provides kubernetes minor version to key-value pairs mapping. + versions: + "1.21": + etcd: "3.5.3-0" + coreDNS: "v1.8.4" + k8sRelease: "stable-1.21" + "1.22": + etcd: "3.5.3-0" + coreDNS: "v1.8.6" + k8sRelease: "stable-1.22" + "1.23": + etcd: "3.5.3-0" + coreDNS: "v1.8.6" + k8sRelease: "stable-1.23" + "1.24": + etcd: "3.5.4-0" + coreDNS: "v1.9.3" + k8sRelease: "stable-1.24" + "1.25": + etcd: "3.5.6-0" + coreDNS: "v1.9.3" + k8sRelease: "stable-1.25" + "1.26": + etcd: "3.5.6-0" + coreDNS: "v1.9.3" + k8sRelease: "stable-1.26" + "1.27": + etcd: "3.5.9-0" + coreDNS: "v1.10.1" + k8sRelease: "stable-1.27" + "1.28": + etcd: "3.5.10-0" + coreDNS: "v1.11.1" + k8sRelease: "stable-1.28" + "1.29": + etcd: "3.5.10-0" + coreDNS: "v1.11.1" + k8sRelease: "stable-1.29" + "1.30": + etcd: "3.5.10-0" + coreDNS: "v1.11.1" + k8sRelease: "ci/latest-1.30" diff --git a/config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-periodics-upgrades.yaml.tpl b/config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-periodics-upgrades.yaml.tpl new file mode 100644 index 0000000000000..4096def162bd5 --- /dev/null +++ b/config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-periodics-upgrades.yaml.tpl @@ -0,0 +1,57 @@ +periodics: +{{- range $_, $upgrade := $.config.Upgrades }} +- name: periodic-cluster-api-e2e-workload-upgrade-{{ $upgrade.From | trimPrefix "stable-" | trimPrefix "ci/latest-" | replace "." "-" }}-{{ $upgrade.To | trimPrefix "stable-" | trimPrefix "ci/latest-" | replace "." "-" }}-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + interval: 24h + decorate: true + rerun_auth_config: + github_team_slugs: + - org: kubernetes-sigs + slug: cluster-api-maintainers + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: {{ $.branch }} + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "{{ versionMapperLookup $upgrade.From "k8sRelease" }}" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "{{ versionMapperLookup $upgrade.To "k8sRelease" }}" + - name: ETCD_VERSION_UPGRADE_TO + value: "{{ versionMapperLookup $upgrade.From "etcd" }}" + - name: COREDNS_VERSION_UPGRADE_TO + value: "{{ versionMapperLookup $upgrade.From "coreDNS" }}" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-e2e-{{ $.branch | replace "." "-" }}-{{ $upgrade.From | trimPrefix "stable-" | trimPrefix "ci/latest-" | replace "." "-" }}-{{ $upgrade.To | trimPrefix "stable-" | trimPrefix "ci/latest-" | replace "." "-" }} + testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io + testgrid-num-failures-to-alert: "4" +{{ end -}} diff --git a/config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-periodics.yaml.tpl b/config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-periodics.yaml.tpl new file mode 100644 index 0000000000000..cdc801ee75868 --- /dev/null +++ b/config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-periodics.yaml.tpl @@ -0,0 +1,218 @@ +periodics: +- name: periodic-cluster-api-test-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + interval: {{ $.config.Interval }} + decorate: true + rerun_auth_config: + github_team_slugs: + - org: kubernetes-sigs + slug: cluster-api-maintainers + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: {{ $.branch }} + path_alias: sigs.k8s.io/cluster-api + spec: + containers: + - image: {{ $.config.KubekinsImage }} + command: + - runner.sh + - ./scripts/ci-test.sh + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-test-{{ $.branch | replace "." "-" }} + testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io + testgrid-num-failures-to-alert: "4" +- name: periodic-cluster-api-test-mink8s-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + interval: {{ $.config.Interval }} + decorate: true + rerun_auth_config: + github_team_slugs: + - org: kubernetes-sigs + slug: cluster-api-maintainers + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: {{ $.branch }} + path_alias: sigs.k8s.io/cluster-api + spec: + containers: + - image: {{ $.config.KubekinsImage }} + command: + - runner.sh + - ./scripts/ci-test.sh + env: + # This value determines the minimum Kubernetes + # supported version for Cluster API management cluster + # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions) + # docs (look for minimum supported k8s version for management cluster, i.e N-3). + # + # To check the latest available envtest in Kubebuilder for the minor version we determined above, please + # refer to https://github.com/kubernetes-sigs/kubebuilder/tree/tools-releases. + - name: KUBEBUILDER_ENVTEST_KUBERNETES_VERSION + value: "{{ $.config.KubebuilderEnvtestKubernetesVersion }}" + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-test-mink8s-{{ $.branch | replace "." "-" }} + testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io + testgrid-num-failures-to-alert: "4" +- name: periodic-cluster-api-e2e-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + interval: {{ $.config.Interval }} + decorate: true + rerun_auth_config: + github_team_slugs: + - org: kubernetes-sigs + slug: cluster-api-maintainers + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: {{ $.branch }} + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: GINKGO_SKIP + value: "\\[Conformance\\] \\[K8s-Upgrade\\]|\\[IPv6\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-e2e-{{ $.branch | replace "." "-" }} + testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io + testgrid-num-failures-to-alert: "4" +{{ if eq $.branch "release-1.4" | not -}} +- name: periodic-cluster-api-e2e-dualstack-and-ipv6-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + interval: {{ $.config.Interval }} + decorate: true + rerun_auth_config: + github_team_slugs: + - org: kubernetes-sigs + slug: cluster-api-maintainers + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: {{ $.branch }} + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + # enable IPV6 in bootstrap image + - name: "DOCKER_IN_DOCKER_IPV6_ENABLED" + value: "true" + - name: GINKGO_SKIP + value: "\\[Conformance\\] \\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-e2e-dualstack-and-ipv6-{{ $.branch | replace "." "-" }} + testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io + testgrid-num-failures-to-alert: "4" +{{ end -}} +- name: periodic-cluster-api-e2e-mink8s-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + interval: {{ $.config.Interval }} + decorate: true + rerun_auth_config: + github_team_slugs: + - org: kubernetes-sigs + slug: cluster-api-maintainers + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: {{ $.branch }} + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: GINKGO_SKIP + value: "\\[Conformance\\] \\[K8s-Upgrade\\]|\\[IPv6\\]" + # This value determines the minimum Kubernetes + # supported version for Cluster API management cluster + # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions) + # docs (look for minimum supported k8s version for management cluster, i.e N-3). + # Please also make sure to refer a version where a kindest/node image exists + # for (see https://github.com/kubernetes-sigs/kind/releases/) + - name: KUBERNETES_VERSION_MANAGEMENT + value: "{{ $.config.KubernetesVersionManagement }}" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-e2e-mink8s-{{ $.branch | replace "." "-" }} + testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io + testgrid-num-failures-to-alert: "4" diff --git a/config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-presubmits.yaml.tpl b/config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-presubmits.yaml.tpl new file mode 100644 index 0000000000000..78e0d58893a77 --- /dev/null +++ b/config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-presubmits.yaml.tpl @@ -0,0 +1,418 @@ +presubmits: + kubernetes-sigs/cluster-api: + - name: pull-cluster-api-build-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + decorate: true + path_alias: sigs.k8s.io/cluster-api + always_run: true + branches: + # The script this job runs is not in all branches. + - ^{{ $.branch }}$ + spec: + containers: + - image: {{ $.config.KubekinsImage }} + command: + - runner.sh + - ./scripts/ci-build.sh + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-pr-build-{{ $.branch | replace "." "-" }} + - name: pull-cluster-api-apidiff-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + decorate: true + path_alias: sigs.k8s.io/cluster-api + optional: true + branches: + # The script this job runs is not in all branches. + - ^{{ $.branch }}$ + run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' + spec: + containers: + - command: + - runner.sh + - ./scripts/ci-apidiff.sh + image: {{ $.config.KubekinsImage }} + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-pr-apidiff-{{ $.branch | replace "." "-" }} + - name: pull-cluster-api-verify-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + decorate: true + path_alias: sigs.k8s.io/cluster-api + always_run: true + labels: + preset-dind-enabled: "true" + branches: + # The script this job runs is not in all branches. + - ^{{ $.branch }}$ + spec: + containers: + - image: {{ $.config.KubekinsImage }} + command: + - "runner.sh" + - ./scripts/ci-verify.sh + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi + securityContext: + privileged: true + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-pr-verify-{{ $.branch | replace "." "-" }} + - name: pull-cluster-api-test-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + decorate: true + path_alias: sigs.k8s.io/cluster-api + branches: + # The script this job runs is not in all branches. + - ^{{ $.branch }}$ + run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - ./scripts/ci-test.sh + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-pr-test-{{ $.branch | replace "." "-" }} + - name: pull-cluster-api-test-mink8s-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + decorate: true + path_alias: sigs.k8s.io/cluster-api + always_run: false + branches: + # The script this job runs is not in all branches. + - ^{{ $.branch }}$ + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - ./scripts/ci-test.sh + env: + # This value determines the minimum Kubernetes + # supported version for Cluster API management cluster + # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions) + # docs (look for minimum supported k8s version for management cluster, i.e N-3). + # + # To check the latest available envtest in Kubebuilder for the minor version we determined above, please + # refer to https://github.com/kubernetes-sigs/kubebuilder/tree/tools-releases. + - name: KUBEBUILDER_ENVTEST_KUBERNETES_VERSION + value: "{{ $.config.KubebuilderEnvtestKubernetesVersion }}" + resources: + requests: + cpu: 7300m + memory: 9Gi + limits: + cpu: 7300m + memory: 9Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-pr-test-mink8s-{{ $.branch | replace "." "-" }} +{{- if eq $.branch "release-1.4" | not }} + - name: pull-cluster-api-e2e-mink8s-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + decorate: true + path_alias: sigs.k8s.io/cluster-api + always_run: false + branches: + # The script this job runs is not in all branches. + - ^{{ $.branch }}$ + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - ./scripts/ci-e2e.sh + env: + - name: GINKGO_SKIP + value: "\\[Conformance\\] \\[K8s-Upgrade\\]|\\[IPv6\\]" + # This value determines the minimum Kubernetes + # supported version for Cluster API management cluster + # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions) + # docs (look for minimum supported k8s version for management cluster, i.e N-3). + # Please also make sure to refer a version where a kindest/node image exists + # for (see https://github.com/kubernetes-sigs/kind/releases/) + - name: KUBERNETES_VERSION_MANAGEMENT + value: "{{ $.config.KubernetesVersionManagement }}" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-pr-e2e-mink8s-{{ $.branch | replace "." "-" }} +{{- end }} + - name: pull-cluster-api-e2e-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + decorate: true + branches: + # The script this job runs is not in all branches. + - ^{{ $.branch }}$ + path_alias: sigs.k8s.io/cluster-api + run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: GINKGO_FOCUS + value: "\\[PR-Blocking\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-pr-e2e-{{ $.branch | replace "." "-" }} +{{- if has $.branch (list "release-1.4" "release-1.5") }} + - name: pull-cluster-api-e2e-informing-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + decorate: true + optional: true + branches: + # The script this job runs is not in all branches. + - ^{{ $.branch }}$ + path_alias: sigs.k8s.io/cluster-api + run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: GINKGO_FOCUS + value: "\\[PR-Informing\\]" +{{- if eq $.branch "release-1.4" }} + - name: GINKGO_SKIP + value: "\\[IPv6\\]" +{{- end }} + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-pr-e2e-informing-{{ $.branch | replace "." "-" }} +{{- end }} +{{- if eq $.branch "release-1.4" | not }} + - name: pull-cluster-api-e2e-full-dualstack-and-ipv6-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + decorate: true + always_run: false + branches: + # The script this job runs is not in all branches. + - ^{{ $.branch }}$ + path_alias: sigs.k8s.io/cluster-api + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + # enable IPV6 in bootstrap image + - name: "DOCKER_IN_DOCKER_IPV6_ENABLED" + value: "true" + # Since the PR-Blocking tests are run as part of the cluster-api-e2e job + # and the upgrade tests are being run as part of the periodic upgrade jobs. + # This jobs ends up running all the other tests in the E2E suite + - name: GINKGO_SKIP + value: "\\[PR-Blocking\\] \\[Conformance\\] \\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-pr-e2e-full-dualstack-and-ipv6-{{ $.branch | replace "." "-" }} +{{ else }} + - name: pull-cluster-api-e2e-informing-ipv6-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + decorate: true + optional: true + branches: + # The script this job runs is not in all branches. + - ^{{ $.branch }}$ + path_alias: sigs.k8s.io/cluster-api + run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + # enable IPV6 in bootstrap image + - name: "DOCKER_IN_DOCKER_IPV6_ENABLED" + value: "true" + - name: GINKGO_FOCUS + value: "\\[IPv6\\] \\[PR-Informing\\]" + - name: IP_FAMILY + value: "IPv6" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-pr-e2e-informing-ipv6-{{ $.branch | replace "." "-" }} +{{- end }} + - name: pull-cluster-api-e2e-full-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + decorate: true + always_run: false + branches: + # The script this job runs is not in all branches. + - ^{{ $.branch }}$ + path_alias: sigs.k8s.io/cluster-api + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + # Since the PR-Blocking tests are run as part of the cluster-api-e2e job + # and the upgrade tests are being run as part of the periodic upgrade jobs. + # This jobs ends up running all the other tests in the E2E suite + - name: GINKGO_SKIP + value: "\\[PR-Blocking\\] \\[Conformance\\] \\[K8s-Upgrade\\]|\\[IPv6\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-pr-e2e-full-{{ $.branch | replace "." "-" }} + - name: pull-cluster-api-e2e-workload-upgrade-{{ (lastUpgradeVersion $.branch).From | replace "." "-" }}-{{ (lastUpgradeVersion $.branch).To | replace "." "-" }}-{{ $.branch | replace "." "-" }} + cluster: eks-prow-build-cluster + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + decorate: true + always_run: false + branches: + # The script this job runs is not in all branches. + - ^{{ $.branch }}$ + path_alias: sigs.k8s.io/cluster-api + extra_refs: + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes + spec: + containers: + - image: {{ $.config.KubekinsImage }} + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: ALWAYS_BUILD_KIND_IMAGES + value: "true" + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "{{ versionMapperLookup ((lastUpgradeVersion $.branch).From) "k8sRelease" }}" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "{{ versionMapperLookup ((lastUpgradeVersion $.branch).To) "k8sRelease" }}" + - name: ETCD_VERSION_UPGRADE_TO + value: "{{ versionMapperLookup ((lastUpgradeVersion $.branch).From) "etcd" }}" + - name: COREDNS_VERSION_UPGRADE_TO + value: "{{ versionMapperLookup ((lastUpgradeVersion $.branch).From) "coreDNS" }}" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + memory: 32Gi + limits: + cpu: 7300m + memory: 32Gi + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ $.branch | trimPrefix "release" }}{{- end }} + testgrid-tab-name: capi-pr-e2e-{{ $.branch | replace "." "-" }}-{{ (lastUpgradeVersion $.branch).From | replace "." "-" }}-{{ (lastUpgradeVersion $.branch).To | replace "." "-" }}