test/cases/rhel82: add basic test-cases
These are used to verify that our pipeline generation is stable, and that the piplines can generate images that boot. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
6e2731deb8
commit
028adf375a
8 changed files with 1196 additions and 0 deletions
138
test/cases/rhel82_openstack.json
Normal file
138
test/cases/rhel82_openstack.json
Normal file
|
|
@ -0,0 +1,138 @@
|
|||
{
|
||||
"boot": {
|
||||
"type": "qemu"
|
||||
},
|
||||
"compose": {
|
||||
"distro": "rhel-8.2",
|
||||
"arch": "x86_64",
|
||||
"checksums": {
|
||||
"baseos": "sha256:3ce6f4ffa7d05b81fec2ba5a1c4917b351231c3433f2f5eed86ed5f8f97168a1",
|
||||
"appstream": "sha256:662e1dc0e465dd5e8efec9f42ef24ac9fd8418294254c3c98ea0342d6e903aed"
|
||||
},
|
||||
"filename": "image.qcow2",
|
||||
"output-format": "openstack",
|
||||
"blueprint": {}
|
||||
},
|
||||
"pipeline": {
|
||||
"build": {
|
||||
"pipeline": {
|
||||
"stages": [
|
||||
{
|
||||
"name": "org.osbuild.dnf",
|
||||
"options": {
|
||||
"repos": [
|
||||
{
|
||||
"baseurl": "http://download-ipv4.eng.brq.redhat.com/rhel-8/nightly/RHEL-8/RHEL-8.2.0-20191213.n.1/compose/BaseOS/x86_64/os",
|
||||
"checksum": "sha256:3ce6f4ffa7d05b81fec2ba5a1c4917b351231c3433f2f5eed86ed5f8f97168a1"
|
||||
},
|
||||
{
|
||||
"baseurl": "http://download-ipv4.eng.brq.redhat.com/rhel-8/nightly/RHEL-8/RHEL-8.2.0-20191213.n.1/compose/AppStream/x86_64/os",
|
||||
"checksum": "sha256:662e1dc0e465dd5e8efec9f42ef24ac9fd8418294254c3c98ea0342d6e903aed"
|
||||
}
|
||||
],
|
||||
"packages": [
|
||||
"dnf",
|
||||
"dracut-config-generic",
|
||||
"e2fsprogs",
|
||||
"glibc",
|
||||
"grub2-pc",
|
||||
"policycoreutils",
|
||||
"python36",
|
||||
"qemu-img",
|
||||
"systemd",
|
||||
"tar",
|
||||
"xfsprogs"
|
||||
],
|
||||
"releasever": "8",
|
||||
"basearch": "x86_64",
|
||||
"module_platform_id": "platform:el8"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runner": "org.osbuild.rhel82"
|
||||
},
|
||||
"stages": [
|
||||
{
|
||||
"name": "org.osbuild.dnf",
|
||||
"options": {
|
||||
"repos": [
|
||||
{
|
||||
"baseurl": "http://download-ipv4.eng.brq.redhat.com/rhel-8/nightly/RHEL-8/RHEL-8.2.0-20191213.n.1/compose/BaseOS/x86_64/os",
|
||||
"checksum": "sha256:3ce6f4ffa7d05b81fec2ba5a1c4917b351231c3433f2f5eed86ed5f8f97168a1"
|
||||
},
|
||||
{
|
||||
"baseurl": "http://download-ipv4.eng.brq.redhat.com/rhel-8/nightly/RHEL-8/RHEL-8.2.0-20191213.n.1/compose/AppStream/x86_64/os",
|
||||
"checksum": "sha256:662e1dc0e465dd5e8efec9f42ef24ac9fd8418294254c3c98ea0342d6e903aed"
|
||||
}
|
||||
],
|
||||
"packages": [
|
||||
"@Core",
|
||||
"grub2-pc",
|
||||
"langpacks-en",
|
||||
"dracut-config-generic",
|
||||
"kernel",
|
||||
"selinux-policy-targeted",
|
||||
"cloud-init",
|
||||
"qemu-guest-agent",
|
||||
"spice-vdagent"
|
||||
],
|
||||
"exclude_packages": [
|
||||
"dracut-config-rescue"
|
||||
],
|
||||
"releasever": "8",
|
||||
"basearch": "x86_64",
|
||||
"module_platform_id": "platform:el8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.fix-bls",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.fstab",
|
||||
"options": {
|
||||
"filesystems": [
|
||||
{
|
||||
"uuid": "0bd700f8-090f-4556-b797-b340297ea1bd",
|
||||
"vfs_type": "xfs",
|
||||
"path": "/",
|
||||
"options": "defaults"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.grub2",
|
||||
"options": {
|
||||
"root_fs_uuid": "0bd700f8-090f-4556-b797-b340297ea1bd",
|
||||
"boot_fs_uuid": "00000000-0000-0000-0000-000000000000",
|
||||
"kernel_opts": "ro net.ifnames=0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.locale",
|
||||
"options": {
|
||||
"language": "en_US"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.selinux",
|
||||
"options": {
|
||||
"file_contexts": "etc/selinux/targeted/contexts/files/file_contexts"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assembler": {
|
||||
"name": "org.osbuild.qemu",
|
||||
"options": {
|
||||
"format": "qcow2",
|
||||
"filename": "image.qcow2",
|
||||
"ptuuid": "0x14fc63d2",
|
||||
"root_fs_uuid": "0bd700f8-090f-4556-b797-b340297ea1bd",
|
||||
"root_fs_type": "xfs",
|
||||
"size": 3221225472
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue