Update of fmf plans and gating for c10s

This commit is contained in:
František Hrdina 2024-05-22 11:51:05 +02:00 committed by Frantisek Hrdina
parent c1e4ddfd46
commit 2fee42c98f
10 changed files with 44 additions and 76 deletions

View File

@ -1,25 +1,25 @@
--- !Policy --- !Policy
product_versions: product_versions:
- fedora-* - fedora-*
decision_contexts: [bodhi_update_push_testing] decision_context: bodhi_update_push_testing
subject_type: koji_build subject_type: koji_build
rules: rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
#gating rawhide #Rawhide
--- !Policy --- !Policy
product_versions: product_versions:
- fedora-* - fedora-*
decision_contexts: [bodhi_update_push_stable] decision_context: bodhi_update_push_stable
subject_type: koji_build subject_type: koji_build
rules: rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
#gating rhel #gating rhel
--- !Policy --- !Policy
product_versions: product_versions:
- rhel-* - rhel-*
decision_context: osci_compose_gate decision_context: osci_compose_gate
rules: rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/internal/tier1-internal.functional} - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/public/tier1-public.functional} - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}

36
plans.fmf Normal file
View File

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

View File

@ -1,10 +0,0 @@
summary: Internal Other tests plan
discover:
how: fmf
filter: 'tier: -1 & tier: -2 & tier: -3'
url: git://pkgs.devel.redhat.com/tests/cyrus-imapd
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora

View File

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

View File

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

View File

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

View File

@ -1,7 +0,0 @@
Summary: Public other tests plan
discover:
how: fmf
url: https://src.fedoraproject.org/tests/cyrus-imapd.git
filter: 'tier: -1 & tier: -2 & tier: -3'
execute:
how: tmt

View File

@ -1,7 +0,0 @@
Summary: Public Tier1 tests plan
discover:
how: fmf
url: https://src.fedoraproject.org/tests/cyrus-imapd.git
filter: 'tier: 1'
execute:
how: tmt

View File

@ -1,7 +0,0 @@
Summary: Public Tier2 tests plan
discover:
how: fmf
url: https://src.fedoraproject.org/tests/cyrus-imapd.git
filter: 'tier: 2'
execute:
how: tmt

View File

@ -1,7 +0,0 @@
Summary: Public Tier3 tests plan
discover:
how: fmf
url: https://src.fedoraproject.org/tests/cyrus-imapd.git
filter: 'tier: 3'
execute:
how: tmt