diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-2-upgrades.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-2-upgrades.yaml new file mode 100644 index 000000000000..9b88cf4e78f0 --- /dev/null +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-2-upgrades.yaml @@ -0,0 +1,309 @@ +periodics: + +- name: periodic-cluster-api-e2e-workload-upgrade-1-18-1-19-release-1-2 + interval: 24h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + 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:v20220614-cde7860a33-1.24 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.18" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.19" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.4.13-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "1.7.0" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-e2e-release-1-2-1-18-1-19 + 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-19-1-20-release-1-2 + interval: 24h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + 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:v20220614-cde7860a33-1.24 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.19" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.20" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.4.13-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "1.7.0" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-e2e-release-1-2-1-19-1-20 + 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-20-1-21-release-1-2 + interval: 24h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + 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:v20220614-cde7860a33-1.24 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.20" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "stable-1.21" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.4.13-0" + - name: COREDNS_VERSION_UPGRADE_TO + value: "v1.8.0" + - name: GINKGO_FOCUS + value: "\\[K8s-Upgrade\\]" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-e2e-release-1-2-1-20-1-21 + 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-21-1-22-release-1-2 + interval: 24h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + 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:v20220614-cde7860a33-1.24 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - 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 + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-e2e-release-1-2-1-21-1-22 + 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-22-1-23-release-1-2 + interval: 24h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + 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:v20220614-cde7860a33-1.24 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - 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 + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-e2e-release-1-2-1-22-1-23 + 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-23-1-24-release-1-2 + interval: 24h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + 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:v20220614-cde7860a33-1.24 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - 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 + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-e2e-release-1-2-1-23-1-24 + 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-24-latest-release-1-2 + interval: 24h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + 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:v20220614-cde7860a33-1.24 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.24" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "ci/latest-1.25" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.3-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 + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-e2e-release-1-2-1-24-latest + 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-release-1-2.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-2.yaml new file mode 100644 index 000000000000..318bd69f1fe7 --- /dev/null +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-2.yaml @@ -0,0 +1,224 @@ +periodics: +- name: periodic-cluster-api-test-release-1-2 + interval: 4h + decorate: true + labels: + preset-service-account: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + path_alias: sigs.k8s.io/cluster-api + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + command: + - "./scripts/ci-test.sh" + resources: + requests: + cpu: 7300m + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-test-release-1-2 + testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io + testgrid-num-failures-to-alert: "4" +- name: periodic-cluster-api-test-mink8s-release-1-2 + interval: 4h + decorate: true + labels: + preset-service-account: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + path_alias: sigs.k8s.io/cluster-api + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + command: + - "./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.20.2" + resources: + requests: + cpu: 7300m + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-test-mink8s-release-1-2 + testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io + testgrid-num-failures-to-alert: "4" +- name: periodic-cluster-api-e2e-upgrade-v0-3-to-release-1-2 + interval: 4h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + 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:v20220614-cde7860a33-1.24 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: GINKGO_FOCUS + value: "\\[clusterctl-Upgrade\\]" + - name: INIT_WITH_BINARY + value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.25/clusterctl-{OS}-{ARCH} + - name: INIT_WITH_PROVIDERS_CONTRACT + value: v1alpha3 + - name: INIT_WITH_KUBERNETES_VERSION + value: v1.21.12 + # CAPI does not work with v1.21 if ClusterClass is enabled, so we have to disable it. + - name: CLUSTER_TOPOLOGY + value: "false" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-e2e-upgrade-v0-3-to-release-1-2 + testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io + testgrid-num-failures-to-alert: "4" +- name: periodic-cluster-api-e2e-upgrade-v1-1-to-release-1-2 + interval: 4h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + 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:v20220614-cde7860a33-1.24 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: GINKGO_FOCUS + value: "\\[clusterctl-Upgrade\\]" + - name: INIT_WITH_BINARY + value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.0/clusterctl-{OS}-{ARCH} + - name: INIT_WITH_PROVIDERS_CONTRACT + value: v1beta1 + - name: INIT_WITH_KUBERNETES_VERSION + value: v1.24.0 + + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-e2e-upgrade-v1-1-to-release-1-2 + testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io + testgrid-num-failures-to-alert: "4" +- name: periodic-cluster-api-e2e-release-1-2 + interval: 4h + decorate: true + decoration_config: + gcs_credentials_secret: "" # Use workload identity for uploading artifacts + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes + spec: + serviceAccountName: prowjob-default-sa + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + 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 + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-e2e-release-1-2 + testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io + testgrid-num-failures-to-alert: "4" +- name: periodic-cluster-api-e2e-mink8s-release-1-2 + interval: 4h + decorate: true + decoration_config: + gcs_credentials_secret: "" # Use workload identity for uploading artifacts + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api + base_ref: release-1.2 + path_alias: sigs.k8s.io/cluster-api + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes + spec: + serviceAccountName: prowjob-default-sa + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: GINKGO_SKIP + value: "\\[Conformance\\] \\[K8s-Upgrade\\]|\\[IPv6\\]|\\[ClusterClass\\]" + # This value determines the minimum Kubernetes + # supported version for Cluster API management cluster. + - name: KUBERNETES_VERSION_MANAGEMENT + value: "stable-1.20" + # CAPI does not work with v1.20 if ClusterClass is enabled, so we have to disable it. + - name: CLUSTER_TOPOLOGY + value: "false" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + requests: + cpu: 7300m + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-e2e-mink8s-release-1-2 + 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-presubmits-release-1-2.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-2.yaml new file mode 100644 index 000000000000..367f35e96a28 --- /dev/null +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-2.yaml @@ -0,0 +1,277 @@ +presubmits: + kubernetes-sigs/cluster-api: + - name: pull-cluster-api-build-release-1-2 + decorate: true + path_alias: sigs.k8s.io/cluster-api + always_run: true + labels: + preset-service-account: "true" + branches: + # The script this job runs is not in all branches. + - ^release-1.2$ + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + command: + - runner.sh + - ./scripts/ci-build.sh + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-pr-build-release-1-2 + - name: pull-cluster-api-apidiff-release-1-2 + decorate: true + path_alias: sigs.k8s.io/cluster-api + always_run: true + optional: true + labels: + preset-service-account: "true" + branches: + # The script this job runs is not in all branches. + - ^release-1.2$ + spec: + containers: + - command: + - runner.sh + - ./scripts/ci-apidiff.sh + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-pr-apidiff-release-1-2 + - name: pull-cluster-api-verify-release-1-2 + decorate: true + path_alias: sigs.k8s.io/cluster-api + always_run: true + labels: + preset-service-account: "true" + branches: + # The script this job runs is not in all branches. + - ^release-1.2$ + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + command: + - "runner.sh" + - ./scripts/ci-verify.sh + resources: + requests: + cpu: 7300m + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-pr-verify-release-1-2 + - name: pull-cluster-api-test-release-1-2 + decorate: true + path_alias: sigs.k8s.io/cluster-api + always_run: true + labels: + preset-service-account: "true" + branches: + # The script this job runs is not in all branches. + - ^release-1.2$ + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + args: + - runner.sh + - ./scripts/ci-test.sh + resources: + requests: + cpu: 7300m + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-pr-test-release-1-2 + - name: pull-cluster-api-test-mink8s-release-1-2 + decorate: true + path_alias: sigs.k8s.io/cluster-api + always_run: true + labels: + preset-service-account: "true" + branches: + # The script this job runs is not in all branches. + - ^release-1.2$ + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + 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.20.2" + resources: + requests: + cpu: 7300m + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-pr-test-mink8s-release-1-2 + - name: pull-cluster-api-e2e-release-1-2 + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + decorate: true + branches: + # The script this job runs is not in all branches. + - ^release-1.2$ + path_alias: sigs.k8s.io/cluster-api + run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|third_party|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + 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 + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-pr-e2e-release-1-2 + - name: pull-cluster-api-e2e-informing-release-1-2 + 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. + - ^release-1.2$ + path_alias: sigs.k8s.io/cluster-api + run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|third_party|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + 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 + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-pr-e2e-informing-release-1-2 + - name: pull-cluster-api-e2e-informing-ipv6-release-1-2 + 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. + - ^release-1.2$ + path_alias: sigs.k8s.io/cluster-api + run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|internal|scripts|test|third_party|util|webhooks|version)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + 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 + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-pr-e2e-informing-ipv6-release-1-2 + - name: pull-cluster-api-e2e-full-release-1-2 + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + decorate: true + optional: true + always_run: false + branches: + # The script this job runs is not in all branches. + - ^release-1.2$ + path_alias: sigs.k8s.io/cluster-api + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + # Since the PR-Blocking tests are run as part of the cluster-api-test-release-1-2 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 + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-pr-e2e-full-release-1-2 + - name: pull-cluster-api-e2e-workload-upgrade-1-24-latest-release-1-2 + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + decorate: true + optional: true + always_run: false + branches: + # The script this job runs is not in all branches. + - ^release-1.2$ + path_alias: sigs.k8s.io/cluster-api + extra_refs: + - org: kubernetes + repo: kubernetes + base_ref: master + path_alias: k8s.io/kubernetes + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220614-cde7860a33-1.24 + args: + - runner.sh + - "./scripts/ci-e2e.sh" + env: + - name: KUBERNETES_VERSION_UPGRADE_FROM + value: "stable-1.24" + - name: KUBERNETES_VERSION_UPGRADE_TO + value: "ci/latest-1.25" + - name: ETCD_VERSION_UPGRADE_TO + value: "3.5.3-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 + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-1.2 + testgrid-tab-name: capi-pr-e2e-release-1-2-1-24-latest diff --git a/config/testgrids/kubernetes/sig-cluster-lifecycle/config.yaml b/config/testgrids/kubernetes/sig-cluster-lifecycle/config.yaml index f54d9500fa3f..9b2e5a4207ac 100644 --- a/config/testgrids/kubernetes/sig-cluster-lifecycle/config.yaml +++ b/config/testgrids/kubernetes/sig-cluster-lifecycle/config.yaml @@ -9,6 +9,7 @@ dashboard_groups: - sig-cluster-lifecycle-cluster-api-0.4 - sig-cluster-lifecycle-cluster-api-1.0 - sig-cluster-lifecycle-cluster-api-1.1 + - sig-cluster-lifecycle-cluster-api-1.2 - sig-cluster-lifecycle-cluster-api-provider-aws - sig-cluster-lifecycle-cluster-api-provider-azure - sig-cluster-lifecycle-cluster-api-provider-digitalocean @@ -34,6 +35,7 @@ dashboards: - name: sig-cluster-lifecycle-cluster-api-0.4 - name: sig-cluster-lifecycle-cluster-api-1.0 - name: sig-cluster-lifecycle-cluster-api-1.1 +- name: sig-cluster-lifecycle-cluster-api-1.2 - name: sig-cluster-lifecycle-cluster-api-provider-aws dashboard_tab: - name: periodic-test-coverage-main