Test/el/cs: add edge-container test manifests with customizations

Add `edge-container` test manifests with customizations. Specifically with
files, directories and services.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2023-02-10 21:48:26 +01:00 committed by Sanne Raymaekers
parent 5a7092bfd5
commit e16fdeb7ed
25 changed files with 297003 additions and 0 deletions

View file

@ -192,6 +192,58 @@
},
"overrides": {}
},
"edge-container-customizations": {
"compose-request": {
"distro": "",
"arch": "",
"image-type": "edge-container",
"repositories": [],
"filename": "container.tar",
"blueprint": {
"customizations": {
"directories": [
{
"path": "/etc/systemd/system/custom.service.d"
},
{
"path": "/etc/custom_dir",
"mode": "0770",
"user": 1020,
"group": 1050
}
],
"files": [
{
"path": "/etc/systemd/system/custom.service",
"data": "[Unit]\nDescription=Custom service\n\n[Service]\nExecStart=/usr/bin/false\n\n[Install]\nWantedBy=multi-user.target\n"
},
{
"path": "/etc/systemd/system/custom.service.d/override.conf",
"data": "[Service]\nExecStart=\nExecStart=/usr/bin/cat /etc/custom_file.txt\n"
},
{
"path": "/etc/custom_file.txt",
"data": "image builder is the best",
"mode": "0644",
"user": "root",
"group": "root"
},
{
"path": "/etc/empty_file.txt",
"user": 0,
"group": 0
}
],
"services": {
"enabled": [
"custom.service"
]
}
}
}
},
"overrides": {}
},
"edge-commit-rt": {
"compose-request": {
"distro": "",