kiwi-build, tmt: Require setting the kiwi filename for the build

In preparation for having multiple top-level kiwi description files,
expose the ability to define which file to read.

Additionally, tests are updated to use this new flag.
This commit is contained in:
Neal Gompa
2024-08-09 11:17:35 -04:00
parent 40e3039216
commit c4d19f7f8e
17 changed files with 28 additions and 10 deletions
+1
View File
@@ -4,5 +4,6 @@ discover:
environment:
image_type: oem
image_profile: Cloud-Base-AmazonEC2
kiwi_file: Fedora.kiwi
execute:
how: tmt
+1
View File
@@ -4,5 +4,6 @@ discover:
environment:
image_type: oem
image_profile: Cloud-Base-Azure
kiwi_file: Fedora.kiwi
execute:
how: tmt
+1
View File
@@ -4,5 +4,6 @@ discover:
environment:
image_type: oem
image_profile: Cloud-Base-GCE
kiwi_file: Fedora.kiwi
execute:
how: tmt
+1
View File
@@ -4,5 +4,6 @@ discover:
environment:
image_type: oem
image_profile: Cloud-Base-Generic
kiwi_file: Fedora.kiwi
execute:
how: tmt
+1
View File
@@ -4,5 +4,6 @@ discover:
environment:
image_type: oem
image_profile: Cloud-Base-UEFI-UKI
kiwi_file: Fedora.kiwi
execute:
how: tmt
@@ -4,5 +4,6 @@ discover:
environment:
image_type: oci
image_profile: Container-Base-Generic-Init
kiwi_file: Fedora.kiwi
execute:
how: tmt
@@ -4,5 +4,6 @@ discover:
environment:
image_type: oci
image_profile: Container-Base-Generic-Minimal
kiwi_file: Fedora.kiwi
execute:
how: tmt
@@ -4,5 +4,6 @@ discover:
environment:
image_type: oci
image_profile: Container-Base-Generic
kiwi_file: Fedora.kiwi
execute:
how: tmt
@@ -4,5 +4,6 @@ discover:
environment:
image_type: oci
image_profile: Container-Toolbox
kiwi_file: Fedora.kiwi
execute:
how: tmt
@@ -4,5 +4,6 @@ discover:
environment:
image_type: oem
image_profile: KDE-Desktop-Disk
kiwi_file: Fedora.kiwi
execute:
how: tmt
@@ -4,5 +4,6 @@ discover:
environment:
image_type: iso
image_profile: KDE-Desktop-Live
kiwi_file: Fedora.kiwi
execute:
how: tmt
+1
View File
@@ -4,5 +4,6 @@ discover:
environment:
image_type: oem
image_profile: Cloud-Base-Vagrant-libvirt
kiwi_file: Fedora.kiwi
execute:
how: tmt
@@ -7,5 +7,6 @@ adjust:
environment:
image_type: oem
image_profile: Cloud-Base-Vagrant-VirtualBox
kiwi_file: Fedora.kiwi
execute:
how: tmt
+1 -1
View File
@@ -9,6 +9,6 @@ require:
framework: shell
path: /
test: |
./kiwi-build --debug --image-type="$image_type" --image-profile="$image_profile" --kiwi-description-dir="${TMT_TREE}" --output-dir="${TMT_TEST_DATA}"
./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"
duration: 60m