diff --git a/plans/build.fmf b/plans/build.fmf new file mode 100644 index 000000000..ea68982ea --- /dev/null +++ b/plans/build.fmf @@ -0,0 +1,21 @@ +provision: + hardware: + cpu: + processors: ">= 2" + memory: ">= 6 GB" + virtualization: + is-supported: true +prepare: + - how: install + package: + - podman + - skopeo + - tmt+provision-virtual + - how: shell + script: systemctl start libvirtd +execute: + how: tmt +discover: + how: fmf + test: + - /build-tmt/build-image diff --git a/plans/integration.fmf b/plans/integration.fmf index 17cca1d8d..32ac94c37 100644 --- a/plans/integration.fmf +++ b/plans/integration.fmf @@ -4,8 +4,8 @@ provision: how: virtual # Generated by `cargo xtask ` - image: file://./target/testbootc-cloud.qcow2 + image: file://./target/testvm/disk.qcow2 summary: Basic smoke test execute: - how: tmt - script: bootc status + how: tmt + script: bootc status diff --git a/tests-integration/build-tmt.fmf b/tests-integration/build-tmt.fmf new file mode 100644 index 000000000..a56c4b340 --- /dev/null +++ b/tests-integration/build-tmt.fmf @@ -0,0 +1,4 @@ +/build-image: + summary: build bootc and build qcow2 image + test: cd .. && dnf -y builddep bootc && make test-tmt + duration: 30m