Enable Gating for firewalld on RHEL10

This commit is contained in:
jpeska 2024-08-16 13:19:17 +02:00
parent 4f09c17fbe
commit 3564f8d202
8 changed files with 54 additions and 4 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

1
ci.fmf Normal file
View File

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

View File

@ -1,9 +1,10 @@
# Gating rhel
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-gating.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-gating-heavy.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.destructive.functional}
# - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-gating.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-gating-heavy.functional}
# - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/destructive.functional}
# - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}

10
plans/destructive.fmf Normal file
View File

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

View File

@ -0,0 +1,10 @@
summary: Internal Tier1-gating-heavy plan
discover:
how: fmf
url: git://pkgs.devel.redhat.com/tests/firewalld
filter: 'tag: CI-gating & tag: heavy & tag: -destructive'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora

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

@ -0,0 +1,10 @@
summary: Internal Tier1-gating plan
discover:
how: fmf
url: git://pkgs.devel.redhat.com/tests/firewalld
filter: 'tag: CI-gating & tag: -heavy & tag: -destructive'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora

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/firewalld.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/firewalld
filter: 'tier: 2'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora