Skip to content

Commit

Permalink
test/fs-customization:added edge-simplified-installer
Browse files Browse the repository at this point in the history
Seperated filesystem customization test for edge-simplified-installer
Simplified installer require installation_device customization which
is not supported by other image types, so a seprate test is added to
the CI.
Removed edge-ami boot-test from CI as the create-mountpoints.service
is bound to fail on firstboot as the mountpoints will  already exist.

Signed-off-by: Sayan Paul <[email protected]>
  • Loading branch information
say-paul committed Mar 11, 2024
1 parent 7057b0c commit 4513405
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 2 deletions.
15 changes: 13 additions & 2 deletions test/config-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,18 @@
"qcow2"
]
},
"./configs/ostree-filesystem-customizations.json": {
"distros": [
"rhel-9.2",
"rhel-9.3",
"rhel-9.4"
],
"image-types": [
"edge-raw-image",
"edge-vsphere",
"edge-ami"
]
},
"./configs/ostree.json": {
"image-types": [
"edge-commit",
Expand Down Expand Up @@ -248,8 +260,7 @@
"image-types": [
"edge-raw-image",
"edge-ami",
"edge-vsphere",
"simplified-installer"
"edge-vsphere"
],
"distros": [
"rhel-92",
Expand Down
54 changes: 54 additions & 0 deletions test/configs/ostree-filesystem-customizations-installer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"name": "ostree-filesystem-customizations-installer",
"ostree": {
"url": "http://example.com/repo"
},
"blueprint": {
"customizations": {
"user": [
{
"groups": [
"wheel"
],
"key": "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNebAh6SjpAn8wB53K4695cGnHGuCtl4RdaX3futZgJUultHyzeYHnzMO7d4++qnRL+Rworew62LKP560uvtncc= github.com/osbuild/images",
"name": "osbuild"
}
],
"installation_device": "/dev/vda",
"filesystem": [
{
"mountpoint": "/foo",
"minsize": "2147483648"
},
{
"mountpoint": "/foo/bar",
"minsize": "2 GiB"
},
{
"mountpoint": "/root",
"minsize": "1 GiB"
},
{
"mountpoint": "/mnt",
"minsize": "3 GiB"
},
{
"mountpoint": "/srv",
"minsize": "4 GiB"
},
{
"mountpoint": "/opt",
"minsize": "1 GiB"
},
{
"mountpoint": "/var/mydata",
"minsize": "1 GiB"
}
]
}
},
"depends": {
"image-type": "edge-container",
"config": "empty.json"
}
}

0 comments on commit 4513405

Please sign in to comment.