ci: migrate to tmt

(cherry picked from commit 3564f8d202)
This commit is contained in:
jpeska 2024-08-16 13:19:17 +02:00 committed by Eric Garver
parent 3a5d5305d3
commit 9bba32729d
6 changed files with 41 additions and 8 deletions

View File

@ -4,8 +4,6 @@ product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-gating.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-gating-heavy.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.destructive.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
# - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-gating.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-gating-heavy.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/destructive.functional}

10
plans/destructive.fmf Normal file
View File

@ -0,0 +1,10 @@
summary: Internal Tier1 beakerlib tests
discover:
how: fmf
url: git://pkgs.devel.redhat.com/tests/firewalld
filter: 'tag: destructive'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora

View File

@ -0,0 +1,10 @@
summary: Internal Tier1-gating-heavy plan
discover:
how: fmf
url: git://pkgs.devel.redhat.com/tests/firewalld
filter: 'tag: CI-gating & tag: heavy & tag: -destructive'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora

10
plans/tier1-gating.fmf Normal file
View File

@ -0,0 +1,10 @@
summary: Internal Tier1-gating plan
discover:
how: fmf
url: git://pkgs.devel.redhat.com/tests/firewalld
filter: 'tag: CI-gating & tag: -heavy & tag: -destructive'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora

7
plans/tier1-public.fmf Normal file
View File

@ -0,0 +1,7 @@
summary: Public (Fedora) Tier1 beakerlib tests
discover:
how: fmf
url: https://src.fedoraproject.org/tests/firewalld.git
filter: 'tier: 1'
execute:
how: tmt

View File

@ -7,6 +7,4 @@ execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream-9
provision:
how: beaker
when: distro == centos-stream or distro == fedora