aboutsummaryrefslogtreecommitdiff
path: root/tmt
diff options
from:
to:
context:
space:
mode:
Diffstat (limited to 'tmt')
-rw-r--r--tmt/plans/build-aws.fmf8
-rw-r--r--tmt/plans/build-azure.fmf8
-rw-r--r--tmt/plans/build-gcp.fmf8
-rw-r--r--tmt/plans/build-openstack.fmf8
-rw-r--r--tmt/plans/build-vagrant-libvirt.fmf8
-rw-r--r--tmt/plans/build-vagrant-virtualbox.fmf11
-rw-r--r--tmt/tests/build-image.fmf11
7 files changed, 62 insertions, 0 deletions
diff --git a/tmt/plans/build-aws.fmf b/tmt/plans/build-aws.fmf
new file mode 100644
index 0000000..7f6a327
--- /dev/null
+++ b/tmt/plans/build-aws.fmf
@@ -0,0 +1,8 @@
+summary: Build AWS EC2 image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Cloud-AmazonEC2
+execute:
+ how: tmt
diff --git a/tmt/plans/build-azure.fmf b/tmt/plans/build-azure.fmf
new file mode 100644
index 0000000..6b43b63
--- /dev/null
+++ b/tmt/plans/build-azure.fmf
@@ -0,0 +1,8 @@
+summary: Build Azure image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Cloud-Azure
+execute:
+ how: tmt
diff --git a/tmt/plans/build-gcp.fmf b/tmt/plans/build-gcp.fmf
new file mode 100644
index 0000000..f5945da
--- /dev/null
+++ b/tmt/plans/build-gcp.fmf
@@ -0,0 +1,8 @@
+summary: Build GCP image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Cloud-GCE
+execute:
+ how: tmt
diff --git a/tmt/plans/build-openstack.fmf b/tmt/plans/build-openstack.fmf
new file mode 100644
index 0000000..3f0eb22
--- /dev/null
+++ b/tmt/plans/build-openstack.fmf
@@ -0,0 +1,8 @@
+summary: Build OpenStack image
+discover:
+ how: fmf
+environment:
+ image_type: oem
+ image_profile: Cloud-OpenStack
+execute:
+ how: tmt
diff --git a/tmt/plans/build-vagrant-libvirt.fmf b/tmt/plans/build-vagrant-libvirt.fmf
new file mode 100644
index 0000000..7240ed1
--- /dev/null
+++ b/tmt/plans/build-vagrant-libvirt.fmf
@@ -0,0 +1,8 @@
+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-vagrant-virtualbox.fmf b/tmt/plans/build-vagrant-virtualbox.fmf
new file mode 100644
index 0000000..d850aa8
--- /dev/null
+++ b/tmt/plans/build-vagrant-virtualbox.fmf
@@ -0,0 +1,11 @@
+summary: Build Vagrant image for VirtualBox
+discover:
+ how: fmf
+adjust:
+ enabled: false
+ when: arch != x86_64
+environment:
+ image_type: oem
+ image_profile: Vagrant-VirtualBox
+execute:
+ how: tmt
diff --git a/tmt/tests/build-image.fmf b/tmt/tests/build-image.fmf
new file mode 100644
index 0000000..4bbfac6
--- /dev/null
+++ b/tmt/tests/build-image.fmf
@@ -0,0 +1,11 @@
+summary: Build image
+require:
+ - distribution-gpg-keys
+ - git-core
+ - kiwi
+ - libselinux-utils
+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}"
+duration: 60m