Test plans and gating configuration

This commit is contained in:
Branislav Náter 2024-05-16 11:40:15 +02:00
parent 0956c6b8cf
commit e928cf5b22
6 changed files with 43 additions and 1 deletions

1
ci.fmf Normal file
View File

@ -0,0 +1 @@
resultsdb-testcase: separate

View File

@ -14,3 +14,13 @@ decision_contexts: [bodhi_update_push_stable]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.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}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier2-internal.functional}

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

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

View File

@ -1,6 +1,7 @@
summary: Test plan with all beakerlib tests
summary: Public (Fedora) Tier1 beakerlib tests
discover:
how: fmf
url: https://src.fedoraproject.org/tests/php.git
filter: 'tier: 1'
execute:
how: tmt

10
plans/tier2-internal.fmf Normal file
View File

@ -0,0 +1,10 @@
summary: Internal Tier2 beakerlib tests
discover:
how: fmf
url: git://pkgs.devel.redhat.com/tests/php
filter: 'tier: 2'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream-10

10
plans/tier3-internal.fmf Normal file
View File

@ -0,0 +1,10 @@
summary: Internal Tier3 beakerlib tests
discover:
how: fmf
url: git://pkgs.devel.redhat.com/tests/php
filter: 'tier: 3'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream-10