Add gating tests
https://bugzilla.redhat.com/show_bug.cgi?id=1950611 Thanks: Xiaodai Wang
This commit is contained in:
parent
41e9bece4c
commit
00d876a814
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
|||||||
|
*~
|
||||||
|
|
||||||
# RPM target directories
|
# RPM target directories
|
||||||
/x86_64
|
/x86_64
|
||||||
|
|
||||||
|
7
gating.yaml
Executable file
7
gating.yaml
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: libvirt-ci.v2v.brew-build.gating.x86_64.tier1.functional}
|
10
tests/basic-test.sh
Executable file
10
tests/basic-test.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash -
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
# This only makes sure that virt-v2v isn't totally broken.
|
||||||
|
# virt-v2v is extensively tested on real guests by the QE
|
||||||
|
# team using a mix of automated and manual testing.
|
||||||
|
|
||||||
|
virt-builder fedora-30
|
||||||
|
virt-v2v -i disk fedora-30.img -o null
|
12
tests/tests.yml
Normal file
12
tests/tests.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
required_packages:
|
||||||
|
- virt-v2v
|
||||||
|
- guestfs-tools
|
||||||
|
tests:
|
||||||
|
- simple:
|
||||||
|
dir: .
|
||||||
|
run: ./basic-test.sh
|
Loading…
Reference in New Issue
Block a user