Diffstat (limited to 'tmt')
| -rw-r--r-- | tmt/plans/base/tiny-disk.xml | 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/wsl/build.fmf | 9 | ||||
| -rw-r--r-- | tmt/tests/build-image.fmf | 2 |
5 files changed, 47 insertions, 0 deletions
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/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/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 48e72bb..3a400cd 100644 --- a/tmt/tests/build-image.fmf +++ b/tmt/tests/build-image.fmf @@ -10,4 +10,6 @@ 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 |