c10s: fmf plans and gatying for RHEL CI

This commit is contained in:
psklenar@redhat.com 2024-05-28 10:19:14 +02:00
parent 59820e13a5
commit 5b9483bf95
4 changed files with 48 additions and 25 deletions

View File

@ -1,16 +1,25 @@
--- !Policy
product_versions:
- fedora-*
decision_contexts: [bodhi_update_push_testing]
decision_context: bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
#gating rawhide
#Rawhide
--- !Policy
product_versions:
- fedora-*
decision_contexts: [bodhi_update_push_stable]
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
#gating rhel
--- !Policy
product_versions:
- rhel-*
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}

35
plans.fmf Normal file
View File

@ -0,0 +1,35 @@
/tier1-internal:
plan:
import:
url: https://src.fedoraproject.org/tests/bind.git
name: /plans/tier1/internal
/tier1-public:
plan:
import:
url: https://src.fedoraproject.org/tests/bind.git
name: /plans/tier1/public
/tier2-tier3-internal:
plan:
import:
url: https://src.fedoraproject.org/tests/bind.git
name: /plans/tier2-tier3/internal
/tier2-tier3-public:
plan:
import:
url: https://src.fedoraproject.org/tests/bind.git
name: /plans/tier2-tier3/public
/others-internal:
plan:
import:
url: https://src.fedoraproject.org/tests/bind.git
name: /plans/others/internal
/others-public:
plan:
import:
url: https://src.fedoraproject.org/tests/bind.git
name: /plans/others/public

View File

@ -1,10 +0,0 @@
summary: Test plan with all beakerlib tests
environment+:
PACKAGE: bind
discover:
how: fmf
url: https://src.fedoraproject.org/tests/bind.git
execute:
how: tmt
context:
component: bind

View File

@ -1,11 +0,0 @@
summary: Public (Fedora) Tier1 beakerlib tests
environment+:
PACKAGE: bind
discover:
how: fmf
url: https://src.fedoraproject.org/tests/bind.git
filter: 'tier: 1'
execute:
how: tmt
context:
component: bind