Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: run tmt integration test on testing farm #613

Merged
merged 2 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions plans/build.fmf
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions plans/integration.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
provision:
how: virtual
# Generated by `cargo xtask `
image: file://./target/testbootc-cloud.qcow2
image: file://./target/testvm/disk.qcow2
cgwalters marked this conversation as resolved.
Show resolved Hide resolved
summary: Basic smoke test
execute:
how: tmt
script: bootc status
how: tmt
script: bootc status
4 changes: 4 additions & 0 deletions tests-integration/build-tmt.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/build-image:
summary: build bootc and build qcow2 image
test: cd .. && dnf -y builddep bootc && make test-tmt
duration: 30m
Loading