Skip to content

Commit b472484

Browse files
Update OS tests images
Fedora 38 -> 41 Fedora CoreOS 38 -> 41 Ubuntu 23.04 -> 23.10 Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <[email protected]>
1 parent 617da09 commit b472484

File tree

7 files changed

+31
-31
lines changed

7 files changed

+31
-31
lines changed

.github/workflows/ostests-matrix.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ on:
2626
"alpine_3_17", "alpine_3_20",
2727
"centos_7", "centos_8", "centos_9",
2828
"debian_10", "debian_11", "debian_12",
29-
"fcos_38",
30-
"fedora_38",
29+
"fcos_41",
30+
"fedora_41",
3131
"flatcar",
3232
"oracle_7_9", "oracle_8_7", "oracle_9_1",
3333
"rhel_7", "rhel_8", "rhel_9",
3434
"rocky_8", "rocky_9",
35-
"ubuntu_2004", "ubuntu_2204", "ubuntu_2304"
35+
"ubuntu_2004", "ubuntu_2204", "ubuntu_2310"
3636
]
3737
arch:
3838
type: string

.github/workflows/ostests-nightly.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ env:
1414
["alpine_3_17", "alpine_3_20"],
1515
["centos_7", "centos_8", "centos_9"],
1616
["debian_10", "debian_11", "debian_12"],
17-
["fcos_38"],
18-
["fedora_38"],
17+
["fcos_41"],
18+
["fedora_41"],
1919
["flatcar"],
2020
["oracle_7_9", "oracle_8_7", "oracle_9_1"],
2121
["rhel_7", "rhel_8", "rhel_9"],
2222
["rocky_8", "rocky_9"],
23-
["ubuntu_2004", "ubuntu_2204", "ubuntu_2304"]
23+
["ubuntu_2004", "ubuntu_2204", "ubuntu_2310"]
2424
]
2525
NETWORK_PROVIDERS: >-
2626
[

hack/ostests/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ terraform apply
7777
* `debian_10`: Debian GNU/Linux 10 (buster)
7878
* `debian_11`: Debian GNU/Linux 11 (bullseye)
7979
* `debian_12`: Debian GNU/Linux 12 (bookworm)
80-
* `fcos_38`: Fedora CoreOS 38
81-
* `fedora_38`: Fedora Linux 38 (Cloud Edition)
80+
* `fcos_41`: Fedora CoreOS 41
81+
* `fedora_41`: Fedora Linux 41 (Cloud Edition)
8282
* `flatcar`: Flatcar Container Linux by Kinvolk
8383
* `oracle_7_9`: Oracle Linux Server 7.9
8484
* `oracle_8_7`: Oracle Linux Server 8.7
@@ -90,7 +90,7 @@ terraform apply
9090
* `rocky_9`: Rocky Linux 9.2 (Blue Onyx)
9191
* `ubuntu_2004`: Ubuntu 20.04 LTS
9292
* `ubuntu_2204`: Ubuntu 22.04 LTS
93-
* `ubuntu_2304`: Ubuntu 23.04
93+
* `ubuntu_2310`: Ubuntu 23.10
9494

9595
### `arch`: Node architecture
9696

hack/ostests/modules/os/main.tf

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ locals {
1111
debian_10 = local.os_debian_10
1212
debian_11 = local.os_debian_11
1313
debian_12 = local.os_debian_12
14-
fcos_38 = local.os_fcos_38
15-
fedora_38 = local.os_fedora_38
14+
fcos_41 = local.os_fcos_41
15+
fedora_41 = local.os_fedora_41
1616
flatcar = local.os_flatcar
1717
oracle_7_9 = local.os_oracle_7_9
1818
oracle_8_7 = local.os_oracle_8_7
@@ -24,6 +24,6 @@ locals {
2424
rocky_9 = local.os_rocky_9
2525
ubuntu_2004 = local.os_ubuntu_2004
2626
ubuntu_2204 = local.os_ubuntu_2204
27-
ubuntu_2304 = local.os_ubuntu_2304
27+
ubuntu_2310 = local.os_ubuntu_2310
2828
}
2929
}

hack/ostests/modules/os/os_fcos_38.tf hack/ostests/modules/os/os_fcos_41.tf

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# https://docs.fedoraproject.org/en-US/fedora-coreos/provisioning-aws/
22

3-
data "aws_ami" "fcos_38" {
4-
count = var.os == "fcos_38" ? 1 : 0
3+
data "aws_ami" "fcos_41" {
4+
count = var.os == "fcos_41" ? 1 : 0
55

66
owners = ["125523088429"]
7-
name_regex = "^fedora-coreos-38\\.\\d+\\..+-x86_64"
7+
name_regex = "^fedora-coreos-41\\.\\d+\\..+-x86_64"
88
most_recent = true
99

1010
filter {
1111
name = "name"
12-
values = ["fedora-coreos-38.*.*-x86_64"]
12+
values = ["fedora-coreos-41.*.*-x86_64"]
1313
}
1414

1515
filter {
@@ -30,16 +30,16 @@ data "aws_ami" "fcos_38" {
3030
lifecycle {
3131
precondition {
3232
condition = var.arch == "x86_64"
33-
error_message = "Unsupported architecture for Fedora CoreOS 38."
33+
error_message = "Unsupported architecture for Fedora CoreOS 41."
3434
}
3535
}
3636
}
3737

3838
locals {
39-
os_fcos_38 = var.os != "fcos_38" ? {} : {
39+
os_fcos_41 = var.os != "fcos_41" ? {} : {
4040
node_configs = {
4141
default = {
42-
ami_id = one(data.aws_ami.fcos_38.*.id)
42+
ami_id = one(data.aws_ami.fcos_41.*.id)
4343

4444
connection = {
4545
type = "ssh"

hack/ostests/modules/os/os_fedora_38.tf hack/ostests/modules/os/os_fedora_41.tf

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# https://alt.fedoraproject.org/cloud/
22

3-
data "aws_ami" "fedora_38" {
4-
count = var.os == "fedora_38" ? 1 : 0
3+
data "aws_ami" "fedora_41" {
4+
count = var.os == "fedora_41" ? 1 : 0
55

66
owners = ["125523088429"]
7-
name_regex = "^Fedora-Cloud-Base-38-.+\\.x86_64-hvm-"
7+
name_regex = "^Fedora-Cloud-Base-AmazonEC2.x86_64-41-"
88
most_recent = true
99

1010
filter {
1111
name = "name"
12-
values = ["Fedora-Cloud-Base-38-*.x86_64-hvm-*"]
12+
values = ["Fedora-Cloud-Base-AmazonEC2.x86_64-41-*"]
1313
}
1414

1515
filter {
@@ -36,10 +36,10 @@ data "aws_ami" "fedora_38" {
3636
}
3737

3838
locals {
39-
os_fedora_38 = var.os != "fedora_38" ? {} : {
39+
os_fedora_41 = var.os != "fedora_41" ? {} : {
4040
node_configs = {
4141
default = {
42-
ami_id = one(data.aws_ami.fedora_38.*.id)
42+
ami_id = one(data.aws_ami.fedora_41.*.id)
4343

4444
connection = {
4545
type = "ssh"

hack/ostests/modules/os/os_ubuntu_2304.tf hack/ostests/modules/os/os_ubuntu_2310.tf

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# https://ubuntu.com/server/docs/cloud-images/amazon-ec2
22

3-
data "aws_ami" "ubuntu_2304" {
4-
count = var.os == "ubuntu_2304" ? 1 : 0
3+
data "aws_ami" "ubuntu_2310" {
4+
count = var.os == "ubuntu_2310" ? 1 : 0
55

66
owners = ["099720109477"]
7-
name_regex = "ubuntu/images/hvm-ssd/ubuntu-lunar-23.04-amd64-server-\\d+"
7+
name_regex = "^ubuntu/images/hvm-ssd-gp3/ubuntu-mantic-23.10-amd64-server-\\d+"
88
most_recent = true
99

1010
filter {
1111
name = "name"
12-
values = ["ubuntu/images/hvm-ssd/ubuntu-lunar-23.04-amd64-server-*"]
12+
values = ["ubuntu/images/hvm-ssd-gp3/ubuntu-mantic-23.10-amd64-server-*"]
1313
}
1414

1515
filter {
@@ -36,10 +36,10 @@ data "aws_ami" "ubuntu_2304" {
3636
}
3737

3838
locals {
39-
os_ubuntu_2304 = var.os != "ubuntu_2304" ? {} : {
39+
os_ubuntu_2310 = var.os != "ubuntu_2310" ? {} : {
4040
node_configs = {
4141
default = {
42-
ami_id = one(data.aws_ami.ubuntu_2304.*.id)
42+
ami_id = one(data.aws_ami.ubuntu_2310.*.id)
4343

4444
user_data = format("#cloud-config\n%s", jsonencode({
4545
runcmd = [

0 commit comments

Comments
 (0)