Skip to content

Commit

Permalink
Merge pull request #613 from henrywang/tf_run
Browse files Browse the repository at this point in the history
test: run tmt integration test on testing farm
  • Loading branch information
cgwalters authored Jun 19, 2024
2 parents 3c7c6c3 + 9a02584 commit d020238
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
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
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

0 comments on commit d020238

Please sign in to comment.