Diffstat (limited to 'tmt')
| -rw-r--r-- | tmt/plans/asahi/build-fex-rootfs.fmf | 12 | ||||
| -rw-r--r-- | tmt/plans/base/tiny-disk.xml | 9 | ||||
| -rw-r--r-- | tmt/plans/desktop/kde/build-desktop-live.fmf | 9 | ||||
| -rw-r--r-- | tmt/plans/desktop/workstation/build-disk.fmf | 9 | ||||
| -rw-r--r-- | tmt/plans/desktop/workstation/build-live.fmf | 18 | ||||
| -rw-r--r-- | tmt/plans/server/guest/build-generic.fmf | 9 | ||||
| -rw-r--r-- | tmt/plans/server/host/build-generic.fmf | 9 | ||||
| -rw-r--r-- | tmt/plans/wsl/build.fmf | 9 | ||||
| -rw-r--r-- | tmt/tests/build-image.fmf | 5 |
9 files changed, 87 insertions, 2 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/desktop/kde/build-desktop-live.fmf b/tmt/plans/desktop/kde/build-desktop-live.fmf index 190c1e1..58ef3da 100644 --- a/tmt/plans/desktop/kde/build-desktop-live.fmf +++ b/tmt/plans/desktop/kde/build-desktop-live.fmf @@ -7,3 +7,12 @@ environment: 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/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 index f8003f5..3a400cd 100644 --- a/tmt/tests/build-image.fmf +++ b/tmt/tests/build-image.fmf @@ -9,6 +9,7 @@ require: 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}" - rm -rf "${TMT_TEST_DATA}/build/image-root" + ./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 |