CI configuration and test plans

This commit is contained in:
Branislav Náter 2024-05-24 19:23:44 +02:00 committed by luhliari
parent 21d57124fa
commit 1ccf095603
7 changed files with 63 additions and 7 deletions

1
ci.fmf Normal file
View File

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

25
gating.yaml Normal file
View File

@ -0,0 +1,25 @@
--- !Policy
product_versions:
- fedora-*
decision_contexts: [bodhi_update_push_testing]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
#gating rawhide
--- !Policy
product_versions:
- fedora-*
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}

View File

@ -1,7 +0,0 @@
summary: Test plan with all Fedora tests
discover:
how: fmf
url: https://src.fedoraproject.org/tests/nginx.git
execute:
how: tmt

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/nginx
filter: "tier:1&component:nginx"
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream-10

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/nginx.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/nginx
filter: "tier:2&component:nginx"
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/nginx
filter: "tier:3&component:nginx"
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream-10