aboutsummaryrefslogtreecommitdiffci
path: root/tmt
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'tmt')
-rw-r--r--tmt/plans/asahi/build-fex-rootfs.fmf12
-rw-r--r--tmt/plans/base/tiny-disk.xml9
-rw-r--r--tmt/plans/cloud/base/build-aws.fmf9
-rw-r--r--tmt/plans/cloud/base/build-azure.fmf9
-rw-r--r--tmt/plans/cloud/base/build-gcp.fmf9
-rw-r--r--tmt/plans/cloud/base/build-generic.fmf9
-rw-r--r--tmt/plans/cloud/base/build-uefi-uki.fmf9
-rw-r--r--tmt/plans/container/base/build-generic-init.fmf9
-rw-r--r--tmt/plans/container/base/build-generic-minimal.fmf9
-rw-r--r--tmt/plans/container/base/build-generic.fmf9
-rw-r--r--tmt/plans/container/toolbox/build-toolbox.fmf9
-rw-r--r--tmt/plans/desktop/kde/build-desktop-disk.fmf9
-rw-r--r--tmt/plans/desktop/kde/build-desktop-live.fmf18
-rw-r--r--tmt/plans/desktop/workstation/build-disk.fmf9
-rw-r--r--tmt/plans/desktop/workstation/build-live.fmf18
-rw-r--r--tmt/plans/server/guest/build-generic.fmf9
-rw-r--r--tmt/plans/server/host/build-generic.fmf9
-rw-r--r--tmt/plans/vagrant/base/build-libvirt.fmf9
-rw-r--r--tmt/plans/vagrant/base/build-virtualbox.fmf12
-rw-r--r--tmt/plans/wsl/build.fmf9
-rw-r--r--tmt/tests/build-image.fmf15
21 files changed, 219 insertions, 0 deletions
diff --git a/tmt/plans/asahi/build-fex-rootfs.fmf b/tmt/plans/asahi/build-fex-rootfs.fmf
new file mode 100644
index 0000000..30313f9
--- /dev/null
+++ b/tmt/plans/asahi/build-fex-rootfs.fmf
@@ -0,0 +1,12 @@
+summary: Build FEX RootFS
+discover:
+ how: fmf
+adjust:
+ enabled: false
+ when: arch != x86_64
+environment:
+ image_type: erofs
+ image_profile: FEX-RootFS
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/base/tiny-disk.xml b/tmt/plans/base/tiny-disk.xml
new file mode 100644
index 0000000..98ee6ed
--- /dev/null
+++ b/tmt/plans/base/tiny-disk.xml
@@ -0,0 +1,9 @@
+summary: Build Tiny disk image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Tiny-Disk
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/cloud/base/build-aws.fmf b/tmt/plans/cloud/base/build-aws.fmf
new file mode 100644
index 0000000..758a3a0
--- /dev/null
+++ b/tmt/plans/cloud/base/build-aws.fmf
@@ -0,0 +1,9 @@
+summary: Build AWS EC2 base image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Cloud-Base-AmazonEC2
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/cloud/base/build-azure.fmf b/tmt/plans/cloud/base/build-azure.fmf
new file mode 100644
index 0000000..4cc66ed
--- /dev/null
+++ b/tmt/plans/cloud/base/build-azure.fmf
@@ -0,0 +1,9 @@
+summary: Build Azure base image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Cloud-Base-Azure
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/cloud/base/build-gcp.fmf b/tmt/plans/cloud/base/build-gcp.fmf
new file mode 100644
index 0000000..e5ed99e
--- /dev/null
+++ b/tmt/plans/cloud/base/build-gcp.fmf
@@ -0,0 +1,9 @@
+summary: Build GCP base image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Cloud-Base-GCE
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/cloud/base/build-generic.fmf b/tmt/plans/cloud/base/build-generic.fmf
new file mode 100644
index 0000000..864e137
--- /dev/null
+++ b/tmt/plans/cloud/base/build-generic.fmf
@@ -0,0 +1,9 @@
+summary: Build Generic base image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Cloud-Base-Generic
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/cloud/base/build-uefi-uki.fmf b/tmt/plans/cloud/base/build-uefi-uki.fmf
new file mode 100644
index 0000000..3d1ad3c
--- /dev/null
+++ b/tmt/plans/cloud/base/build-uefi-uki.fmf
@@ -0,0 +1,9 @@
+summary: Build UEFI UKI base image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Cloud-Base-UEFI-UKI
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/container/base/build-generic-init.fmf b/tmt/plans/container/base/build-generic-init.fmf
new file mode 100644
index 0000000..3a0e82a
--- /dev/null
+++ b/tmt/plans/container/base/build-generic-init.fmf
@@ -0,0 +1,9 @@
+summary: Build Init Generic base container image
+discover:
+ how: fmf
+environment:
+ image_type: oci
+ image_profile: Container-Base-Generic-Init
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/container/base/build-generic-minimal.fmf b/tmt/plans/container/base/build-generic-minimal.fmf
new file mode 100644
index 0000000..9c192da
--- /dev/null
+++ b/tmt/plans/container/base/build-generic-minimal.fmf
@@ -0,0 +1,9 @@
+summary: Build Minimal Generic base container image
+discover:
+ how: fmf
+environment:
+ image_type: oci
+ image_profile: Container-Base-Generic-Minimal
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/container/base/build-generic.fmf b/tmt/plans/container/base/build-generic.fmf
new file mode 100644
index 0000000..c6c71db
--- /dev/null
+++ b/tmt/plans/container/base/build-generic.fmf
@@ -0,0 +1,9 @@
+summary: Build Generic base container image
+discover:
+ how: fmf
+environment:
+ image_type: oci
+ image_profile: Container-Base-Generic
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/container/toolbox/build-toolbox.fmf b/tmt/plans/container/toolbox/build-toolbox.fmf
new file mode 100644
index 0000000..76f0567
--- /dev/null
+++ b/tmt/plans/container/toolbox/build-toolbox.fmf
@@ -0,0 +1,9 @@
+summary: Build Toolbox container image
+discover:
+ how: fmf
+environment:
+ image_type: oci
+ image_profile: Container-Toolbox
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/desktop/kde/build-desktop-disk.fmf b/tmt/plans/desktop/kde/build-desktop-disk.fmf
new file mode 100644
index 0000000..11fcffb
--- /dev/null
+++ b/tmt/plans/desktop/kde/build-desktop-disk.fmf
@@ -0,0 +1,9 @@
+summary: Build KDE Desktop disk image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: KDE-Desktop-Disk
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/desktop/kde/build-desktop-live.fmf b/tmt/plans/desktop/kde/build-desktop-live.fmf
new file mode 100644
index 0000000..58ef3da
--- /dev/null
+++ b/tmt/plans/desktop/kde/build-desktop-live.fmf
@@ -0,0 +1,18 @@
+summary: Build KDE Desktop live image
+discover:
+ how: fmf
+environment:
+ image_type: iso
+ image_profile: KDE-Desktop-Live
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
+provision:
+ how: artemis
+ hardware:
+ cpu:
+ # Add more CPUs to make mksquashfs faster
+ processors: ">= 8"
+ disk:
+ # Increase disk size for better IO performance
+ - size: '>=500 GiB'
diff --git a/tmt/plans/desktop/workstation/build-disk.fmf b/tmt/plans/desktop/workstation/build-disk.fmf
new file mode 100644
index 0000000..9718621
--- /dev/null
+++ b/tmt/plans/desktop/workstation/build-disk.fmf
@@ -0,0 +1,9 @@
+summary: Build Workstation disk image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Workstation-Disk
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/desktop/workstation/build-live.fmf b/tmt/plans/desktop/workstation/build-live.fmf
new file mode 100644
index 0000000..2ecd287
--- /dev/null
+++ b/tmt/plans/desktop/workstation/build-live.fmf
@@ -0,0 +1,18 @@
+summary: Build Workstation live image
+discover:
+ how: fmf
+environment:
+ image_type: iso
+ image_profile: Workstation-Live
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
+provision:
+ how: artemis
+ hardware:
+ cpu:
+ # Add more CPUs to make mksquashfs faster
+ processors: ">= 8"
+ disk:
+ # Increase disk size for better IO performance
+ - size: '>=500 GiB'
diff --git a/tmt/plans/server/guest/build-generic.fmf b/tmt/plans/server/guest/build-generic.fmf
new file mode 100644
index 0000000..252823d
--- /dev/null
+++ b/tmt/plans/server/guest/build-generic.fmf
@@ -0,0 +1,9 @@
+summary: Build Generic guest image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Server-Guest-Generic
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/server/host/build-generic.fmf b/tmt/plans/server/host/build-generic.fmf
new file mode 100644
index 0000000..d2279f2
--- /dev/null
+++ b/tmt/plans/server/host/build-generic.fmf
@@ -0,0 +1,9 @@
+summary: Build Generic host image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Server-Host-Generic
+ kiwi_file: Fedora.kiwi
+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..5dc2751
--- /dev/null
+++ b/tmt/plans/vagrant/base/build-libvirt.fmf
@@ -0,0 +1,9 @@
+summary: Build base Vagrant image for libvirt
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Cloud-Base-Vagrant-libvirt
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/vagrant/base/build-virtualbox.fmf b/tmt/plans/vagrant/base/build-virtualbox.fmf
new file mode 100644
index 0000000..22878fe
--- /dev/null
+++ b/tmt/plans/vagrant/base/build-virtualbox.fmf
@@ -0,0 +1,12 @@
+summary: Build base Vagrant image for VirtualBox
+discover:
+ how: fmf
+adjust:
+ enabled: false
+ when: arch != x86_64
+environment:
+ image_type: oem
+ image_profile: Cloud-Base-Vagrant-VirtualBox
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/plans/wsl/build.fmf b/tmt/plans/wsl/build.fmf
new file mode 100644
index 0000000..beca94b
--- /dev/null
+++ b/tmt/plans/wsl/build.fmf
@@ -0,0 +1,9 @@
+summary: Build the Windows Subsystem for Linux image
+discover:
+ how: fmf
+environment:
+ image_type: wsl
+ image_profile: WSL-Base
+ kiwi_file: Fedora.kiwi
+execute:
+ how: tmt
diff --git a/tmt/tests/build-image.fmf b/tmt/tests/build-image.fmf
new file mode 100644
index 0000000..3a400cd
--- /dev/null
+++ b/tmt/tests/build-image.fmf
@@ -0,0 +1,15 @@
+summary: Build image
+require:
+ - distribution-gpg-keys
+ - git-core
+ - kiwi
+ - kiwi-systemdeps-containers
+ - kiwi-systemdeps-disk-images
+ - libselinux-utils
+framework: shell
+path: /
+test: |
+ ./kiwi-build --debug --image-type="$image_type" --image-profile="$image_profile" --kiwi-description-dir="${TMT_TREE}" --kiwi-file="$kiwi_file" --output-dir="${TMT_TEST_DATA}" --image-release="$(date --utc +'%Y%m%d.%H%M')"
+ mv ${TMT_TEST_DATA}-build/build/image-root.log ${TMT_TEST_DATA}
+ rm -rf "${TMT_TEST_DATA}-build"
+duration: 60m