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.

Signed-off-by: Sayan Paul <[email protected]>
  • Loading branch information
say-paul committed Jan 29, 2024
1 parent a53d082 commit 823900d
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 2 deletions.
13 changes: 11 additions & 2 deletions test/config-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,17 @@
"image-types": [
"edge-raw-image",
"edge-ami",
"edge-vsphere",
"simplified-installer"
"edge-vsphere"
],
"distros": [
"rhel-9.2",
"rhel-9.3",
"rhel-9.4"
]
},
"./configs/ostree-filesystem-customizations-installer.json": {
"image-types": [
"edge-simplified-installer"
],
"distros": [
"rhel-9.2",
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",
"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 823900d

Please sign in to comment.