Migrate FMF tests into metadata format used in rhel-stacks

This commit is contained in:
Zdenek Dohnal 2025-08-13 13:48:56 +02:00
parent 19a9c6e2e5
commit c4904fe81b
4 changed files with 41 additions and 16 deletions

View File

@ -5,7 +5,7 @@ decision_contexts: [bodhi_update_push_testing]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier2-public.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier2-tier3-public.functional}
#gating rawhide
--- !Policy
@ -15,7 +15,7 @@ decision_contexts: [bodhi_update_push_stable]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier2-public.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier2-tier3-public.functional}
#gating rhel
--- !Policy
@ -24,3 +24,6 @@ product_versions:
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier2-tier3-public.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier2-tier3-internal.functional}

36
plans.fmf Normal file
View File

@ -0,0 +1,36 @@
/tier1-internal:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/sscg.git
name: /plans/tier1/internal
/tier1-public:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/sscg.git
name: /plans/tier1/public
/tier2-tier3-internal:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/sscg.git
name: /plans/tier2-tier3/internal
/tier2-tier3-public:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/sscg.git
name: /plans/tier2-tier3/public
/others-internal:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/sscg.git
name: /plans/others/internal
/others-public:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/sscg.git
name: /plans/others/public

View File

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

View File

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