Add gating
Adds gating configuration, tmt plan and single test executing similar code as %check does.
This commit is contained in:
parent
73c8b343ca
commit
2abcf232e9
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
8
plans/main.fmf
Normal file
8
plans/main.fmf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
|
||||||
|
discover:
|
||||||
|
dist-git-source: true
|
||||||
|
dist-git-merge: true
|
||||||
|
how: fmf
|
||||||
|
dist-git-install-builddeps: true
|
9
tests/unit.fmf
Normal file
9
tests/unit.fmf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
test: |
|
||||||
|
cd $(dirname $TMT_SOURCE_DIR/*/spec)
|
||||||
|
export LANG=C.UTF-8
|
||||||
|
rspec spec
|
||||||
|
require:
|
||||||
|
- rubygem-diff-lcs
|
||||||
|
- rubygem(rspec)
|
||||||
|
tag:
|
||||||
|
- rhel-buildroot
|
Loading…
Reference in New Issue
Block a user