Skip to content

Commit d91f0c3

Browse files
erjavaskivuoriSunnatillo
authored andcommitted
Uplift Ubuntu to 24.04
Signed-off-by: erjavaskivuori <[email protected]> Signed-off-by: Sunnatillo <[email protected]>
1 parent dab52f9 commit d91f0c3

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

docs/api.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,10 +413,10 @@ metadata:
413413
spec:
414414
automatedCleaningMode: metadata
415415
image:
416-
checksum: http://172.22.0.1/images/UBUNTU_22.04_NODE_IMAGE_K8S_v1.31.0-raw.img.sha256sum
416+
checksum: http://172.22.0.1/images/UBUNTU_24.04_NODE_IMAGE_K8S_v1.31.0-raw.img.sha256sum
417417
checksumType: sha256
418418
format: raw
419-
url: http://172.22.0.1/images/UBUNTU_22.04_NODE_IMAGE_K8S_v1.31.0-raw.img
419+
url: http://172.22.0.1/images/UBUNTU_24.04_NODE_IMAGE_K8S_v1.31.0-raw.img
420420
hostSelector:
421421
matchLabels:
422422
key1: value1
@@ -557,10 +557,17 @@ spec:
557557
spec:
558558
automatedCleaningMode: metadata
559559
image:
560+
<<<<<<< HEAD
560561
checksum: http://172.22.0.1/images/UBUNTU_22.04_NODE_IMAGE_K8S_v1.31.0-raw.img.sha256sum
561562
checksumType: sha256
562563
format: raw
563564
url: http://172.22.0.1/images/UBUNTU_22.04_NODE_IMAGE_K8S_v1.31.0-raw.img
565+
=======
566+
checksum: http://172.22.0.1/images/UBUNTU_24.04_NODE_IMAGE_K8S_v1.31.0-raw.img.sha256sum
567+
checksumType: sha256
568+
format: raw
569+
url: http://172.22.0.1/images/UBUNTU_24.04_NODE_IMAGE_K8S_v1.31.0-raw.img
570+
>>>>>>> ccb5b5d4 (Uplift Ubuntu to 24.04)
564571
hostSelector:
565572
matchLabels:
566573
key1: value1

examples/generate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ export CLUSTER_NAME="${CLUSTER_NAME:-test1}"
2727
export KUBERNETES_VERSION="${KUBERNETES_VERSION:-v1.31.0}"
2828
export CLUSTER_APIENDPOINT_HOST="${CLUSTER_APIENDPOINT_HOST:-192.168.111.249}"
2929
export CLUSTER_APIENDPOINT_PORT="${CLUSTER_APIENDPOINT_PORT:-6443}"
30-
export IMAGE_URL="${IMAGE_URL:-http://172.22.0.1/images/UBUNTU_22.04_NODE_IMAGE_K8S_v1.31.0-raw.img}"
31-
export IMAGE_CHECKSUM="${IMAGE_CHECKSUM:-http://172.22.0.1/images/UBUNTU_22.04_NODE_IMAGE_K8S_v1.31.0-raw.img.sha256sum}"
30+
export IMAGE_URL="${IMAGE_URL:-http://172.22.0.1/images/UBUNTU_24.04_NODE_IMAGE_K8S_v1.31.0-raw.img}"
31+
export IMAGE_CHECKSUM="${IMAGE_CHECKSUM:-http://172.22.0.1/images/UBUNTU_24.04_NODE_IMAGE_K8S_v1.31.0-raw.img.sha256sum}"
3232
export IMAGE_CHECKSUM_TYPE="${IMAGE_CHECKSUM_TYPE:-sha256}"
3333
export IMAGE_FORMAT="${IMAGE_FORMAT:-raw}"
3434

scripts/environment.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ function os_check() {
2424
export DISTRO="${ID}${VERSION_ID%.*}"
2525
export OS="${ID}"
2626
export OS_VERSION_ID=$VERSION_ID
27-
export SUPPORTED_DISTROS=(centos8 centos9 rhel8 ubuntu20 ubuntu22)
27+
export SUPPORTED_DISTROS=(centos8 centos9 rhel8 ubuntu20 ubuntu22 ubuntu24)
2828

2929
if [[ ! "${SUPPORTED_DISTROS[*]}" =~ $DISTRO ]]; then
30-
echo "Supported OS distros for the host are: CentOS Stream 8/9 or RHEL8/9 or Ubuntu20.04 or Ubuntu22.04"
30+
echo "Supported OS distros for the host are: CentOS Stream 8/9 or RHEL8/9 or Ubuntu20.04 or Ubuntu22.04 or Ubuntu24.04"
3131
exit 1
3232
fi
3333
}

test/e2e/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func EnsureImage(k8sVersion string) (imageURL string, imageChecksum string) {
158158
Expect(osType).To(BeElementOf([]string{osTypeUbuntu, osTypeCentos}))
159159
imageNamePrefix := "CENTOS_9_NODE_IMAGE_K8S"
160160
if osType != osTypeCentos {
161-
imageNamePrefix = "UBUNTU_22.04_NODE_IMAGE_K8S"
161+
imageNamePrefix = "UBUNTU_24.04_NODE_IMAGE_K8S"
162162
}
163163
imageName := fmt.Sprintf("%s_%s.qcow2", imageNamePrefix, k8sVersion)
164164
rawImageName := fmt.Sprintf("%s_%s-raw.img", imageNamePrefix, k8sVersion)

0 commit comments

Comments
 (0)