Adding tmt test files

This commit is contained in:
Michal Ruprich 2023-03-29 11:35:47 +00:00 committed by Stepan Oksanichenko
parent ebc6b42ad1
commit 004dfc48b2
6 changed files with 25 additions and 13 deletions

1
.lftp.metadata Normal file
View File

@ -0,0 +1 @@
e1c7936fef725c9e9c5ccccc30f73f9a9f781115 lftp-4.9.2.tar.xz

14
ci.fmf
View File

@ -1,13 +1 @@
/test: resultsdb-testcase: separate
summary:
CI plan, picks Tier1 tests, runs in beakerlib.
description:
This special plan has to be named ci.fmf to run in CI.
It selects test which have 'tier 1' in their main.fmf file
discover:
- name: tier1
how: fmf
filter: 'tier: 1'
repository: "https://src.fedoraproject.org/tests/lftp.git"
execute:
how: beakerlib

View File

@ -3,6 +3,8 @@ product_versions:
- rhel-9 - rhel-9
decision_context: osci_compose_gate decision_context: osci_compose_gate
rules: rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/public.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier2.functional} - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier2.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier3.functional} - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier3.functional}

7
plans/public.fmf Normal file
View File

@ -0,0 +1,7 @@
summary: Test plan that runs all tests from tests repo.
discover:
how: fmf
url: https://src.fedoraproject.org/tests/lftp.git
execute:
how: tmt

11
plans/tier1-internal.fmf Normal file
View File

@ -0,0 +1,11 @@
summary: CI plan, picks Tier1 tests, runs in beakerlib.
discover:
- name: rhel
how: fmf
filter: 'tier: 1'
url: git://pkgs.devel.redhat.com/tests/lftp
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream-9

3
rpminspect.yaml Normal file
View File

@ -0,0 +1,3 @@
---
inspections:
badfuncs: off