Skip to content

Commit d020238

Browse files
authored
Merge pull request bootc-dev#613 from henrywang/tf_run
test: run tmt integration test on testing farm
2 parents 3c7c6c3 + 9a02584 commit d020238

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

plans/build.fmf

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
provision:
2+
hardware:
3+
cpu:
4+
processors: ">= 2"
5+
memory: ">= 6 GB"
6+
virtualization:
7+
is-supported: true
8+
prepare:
9+
- how: install
10+
package:
11+
- podman
12+
- skopeo
13+
- tmt+provision-virtual
14+
- how: shell
15+
script: systemctl start libvirtd
16+
execute:
17+
how: tmt
18+
discover:
19+
how: fmf
20+
test:
21+
- /build-tmt/build-image

plans/integration.fmf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
provision:
55
how: virtual
66
# Generated by `cargo xtask `
7-
image: file://./target/testbootc-cloud.qcow2
7+
image: file://./target/testvm/disk.qcow2
88
summary: Basic smoke test
99
execute:
10-
how: tmt
11-
script: bootc status
10+
how: tmt
11+
script: bootc status

tests-integration/build-tmt.fmf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/build-image:
2+
summary: build bootc and build qcow2 image
3+
test: cd .. && dnf -y builddep bootc && make test-tmt
4+
duration: 30m

0 commit comments

Comments
 (0)