Skip to content

Commit

Permalink
e2e: bump to ubuntu-2404-kube-v1.31.2
Browse files Browse the repository at this point in the history
Let's bump k8s release to v1.31.2 to align with other platforms
and the k8s version of CAPI & CAPO.

Co-authored-by: Lennart Jern <[email protected]>
  • Loading branch information
EmilienM and lentzi90 committed Jan 13, 2025
1 parent b263abc commit c279a86
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions test/e2e/data/e2e_conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ providers:
variables:
# used to ensure we deploy to the correct management cluster
KUBE_CONTEXT: "kind-capo-e2e"
KUBERNETES_VERSION: "v1.30.1"
KUBERNETES_VERSION_UPGRADE_FROM: "v1.29.5"
KUBERNETES_VERSION_UPGRADE_TO: "v1.30.1"
KUBERNETES_VERSION: "v1.31.2"
KUBERNETES_VERSION_UPGRADE_FROM: "v1.30.1"
KUBERNETES_VERSION_UPGRADE_TO: "v1.31.2"
# NOTE: To see default images run kubeadm config images list (optionally with --kubernetes-version=vX.Y.Z)
ETCD_VERSION_UPGRADE_TO: "3.5.12-0"
COREDNS_VERSION_UPGRADE_TO: "v1.11.1"
Expand All @@ -162,8 +162,8 @@ variables:
OPENSTACK_DNS_NAMESERVERS: "8.8.8.8"
OPENSTACK_FAILURE_DOMAIN: "testaz1"
OPENSTACK_FAILURE_DOMAIN_ALT: "testaz2"
OPENSTACK_IMAGE_NAME: "ubuntu-2204-kube-v1.30.1"
OPENSTACK_IMAGE_NAME_UPGRADE_FROM: "ubuntu-2204-kube-v1.29.5"
OPENSTACK_IMAGE_NAME: "ubuntu-2404-kube-v1.31.2"
OPENSTACK_IMAGE_NAME_UPGRADE_FROM: "ubuntu-2204-kube-v1.30.1"
OPENSTACK_NODE_MACHINE_FLAVOR: "m1.small"
OPENSTACK_SSH_KEY_NAME: "cluster-api-provider-openstack-sigs-k8s-io"
# The default external network created by devstack
Expand All @@ -176,7 +176,7 @@ variables:
SSH_USER_MACHINE: "ubuntu"
EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION: "true"
# The Flatcar image produced by the image-builder
OPENSTACK_FLATCAR_IMAGE_NAME: "flatcar-stable-4081.2.0-kube-v1.30.1"
OPENSTACK_FLATCAR_IMAGE_NAME: "flatcar-stable-4081.2.0-kube-v1.31.2"
# A plain Flatcar from the Flatcar releases server
FLATCAR_IMAGE_NAME: "flatcar_production_openstack_image"

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/shared/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func CoreImages(e2eCtx *E2EContext) []DownloadImage {
},
{
Name: "capo-default",
ArtifactPath: "ubuntu/2024-05-28/" + e2eCtx.E2EConfig.GetVariable("OPENSTACK_IMAGE_NAME") + ".img",
ArtifactPath: "ubuntu/2024-11-21/" + e2eCtx.E2EConfig.GetVariable("OPENSTACK_IMAGE_NAME") + ".img",
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/suites/e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ var _ = SynchronizedBeforeSuite(func(ctx context.Context) []byte {

upgradeImage = shared.DownloadImage{
Name: "capo-upgrade-from",
ArtifactPath: "ubuntu/2024-05-28/" + e2eCtx.E2EConfig.GetVariable("OPENSTACK_IMAGE_NAME_UPGRADE_FROM") + ".img",
ArtifactPath: "ubuntu/2024-11-21/" + e2eCtx.E2EConfig.GetVariable("OPENSTACK_IMAGE_NAME_UPGRADE_FROM") + ".img",
}
})

Expand Down

0 comments on commit c279a86

Please sign in to comment.