diff --git a/README.md b/README.md index 4138fae..61bd69a 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ All changes should be made via the PR workflow. ## Image variants -* Cloud Edition (image type: `oem`, image profiles: `Cloud-OpenStack`/`Cloud-AmazonEC2`/`Cloud-Azure`/`Cloud-GCE`/`Cloud-Oracle`) +* Base Cloud Edition for clouds (image type: `oem`, image profiles: `Cloud-Base-Generic`/`Cloud-Base-AmazonEC2`/`Cloud-Base-Azure`/`Cloud-Base-GCE`) +* Base Cloud Edition for Vagrant (image type: `oem`, image profiles: `Cloud-Base-Vagrant-libvirt`/`Cloud-Base-Vagrant-VirtualBox`) * KDE Spin (image type: `iso`, image profiles: `KDE-Live`) -* Vagrant Cloud Edition (image type: `oem`, image profiles: `Vagrant-libvirt`/`Vagrant-VirtualBox`) * Workstation Edition (image type: `iso`, image profiles: `Workstation-Live`) ## Image build quickstart diff --git a/platforms/cloud.xml b/platforms/cloud.xml index 62f86fe..2d5e28c 100644 --- a/platforms/cloud.xml +++ b/platforms/cloud.xml @@ -3,23 +3,26 @@ - + - + - + - + - - + + + + + - + @@ -33,7 +36,7 @@ - + 5 @@ -47,7 +50,7 @@ - + 5 @@ -61,7 +64,7 @@ - + 5 @@ -87,18 +90,18 @@ - + - + - + - + diff --git a/platforms/vagrant.xml b/platforms/vagrant.xml index 5dc45bf..9c784ff 100644 --- a/platforms/vagrant.xml +++ b/platforms/vagrant.xml @@ -3,14 +3,14 @@ - + - + - + 5 @@ -25,7 +25,7 @@ - + 5 @@ -52,10 +52,10 @@ - + - + diff --git a/tmt/plans/build-vagrant-libvirt.fmf b/tmt/plans/build-vagrant-libvirt.fmf deleted file mode 100644 index 7240ed1..0000000 --- a/tmt/plans/build-vagrant-libvirt.fmf +++ /dev/null @@ -1,8 +0,0 @@ -summary: Build Vagrant image for libvirt -discover: - how: fmf -environment: - image_type: oem - image_profile: Vagrant-libvirt -execute: - how: tmt diff --git a/tmt/plans/build-openstack.fmf b/tmt/plans/cloud/base/build-aws.fmf similarity index 51% rename from tmt/plans/build-openstack.fmf rename to tmt/plans/cloud/base/build-aws.fmf index 3f0eb22..f2d2fe4 100644 --- a/tmt/plans/build-openstack.fmf +++ b/tmt/plans/cloud/base/build-aws.fmf @@ -1,8 +1,8 @@ -summary: Build OpenStack image +summary: Build AWS EC2 base image discover: how: fmf environment: image_type: oem - image_profile: Cloud-OpenStack + image_profile: Cloud-Base-AmazonEC2 execute: how: tmt diff --git a/tmt/plans/build-azure.fmf b/tmt/plans/cloud/base/build-azure.fmf similarity index 53% rename from tmt/plans/build-azure.fmf rename to tmt/plans/cloud/base/build-azure.fmf index 6b43b63..970ee9a 100644 --- a/tmt/plans/build-azure.fmf +++ b/tmt/plans/cloud/base/build-azure.fmf @@ -1,8 +1,8 @@ -summary: Build Azure image +summary: Build Azure base image discover: how: fmf environment: image_type: oem - image_profile: Cloud-Azure + image_profile: Cloud-Base-Azure execute: how: tmt diff --git a/tmt/plans/build-gcp.fmf b/tmt/plans/cloud/base/build-gcp.fmf similarity index 54% rename from tmt/plans/build-gcp.fmf rename to tmt/plans/cloud/base/build-gcp.fmf index f5945da..abe823c 100644 --- a/tmt/plans/build-gcp.fmf +++ b/tmt/plans/cloud/base/build-gcp.fmf @@ -1,8 +1,8 @@ -summary: Build GCP image +summary: Build GCP base image discover: how: fmf environment: image_type: oem - image_profile: Cloud-GCE + image_profile: Cloud-Base-GCE execute: how: tmt diff --git a/tmt/plans/build-aws.fmf b/tmt/plans/cloud/base/build-generic.fmf similarity index 52% rename from tmt/plans/build-aws.fmf rename to tmt/plans/cloud/base/build-generic.fmf index 7f6a327..752bf11 100644 --- a/tmt/plans/build-aws.fmf +++ b/tmt/plans/cloud/base/build-generic.fmf @@ -1,8 +1,8 @@ -summary: Build AWS EC2 image +summary: Build Generic base image discover: how: fmf environment: image_type: oem - image_profile: Cloud-AmazonEC2 + image_profile: Cloud-Base-Generic execute: how: tmt diff --git a/tmt/plans/vagrant/base/build-libvirt.fmf b/tmt/plans/vagrant/base/build-libvirt.fmf new file mode 100644 index 0000000..8c49c19 --- /dev/null +++ b/tmt/plans/vagrant/base/build-libvirt.fmf @@ -0,0 +1,8 @@ +summary: Build base Vagrant image for libvirt +discover: + how: fmf +environment: + image_type: oem + image_profile: Cloud-Base-Vagrant-libvirt +execute: + how: tmt diff --git a/tmt/plans/build-vagrant-virtualbox.fmf b/tmt/plans/vagrant/base/build-virtualbox.fmf similarity index 57% rename from tmt/plans/build-vagrant-virtualbox.fmf rename to tmt/plans/vagrant/base/build-virtualbox.fmf index d850aa8..9fcd97e 100644 --- a/tmt/plans/build-vagrant-virtualbox.fmf +++ b/tmt/plans/vagrant/base/build-virtualbox.fmf @@ -1,4 +1,4 @@ -summary: Build Vagrant image for VirtualBox +summary: Build base Vagrant image for VirtualBox discover: how: fmf adjust: @@ -6,6 +6,6 @@ adjust: when: arch != x86_64 environment: image_type: oem - image_profile: Vagrant-VirtualBox + image_profile: Cloud-Base-Vagrant-VirtualBox execute: how: tmt