From 3564f8d202277402b3ac8f51357f74da1c0c1ee8 Mon Sep 17 00:00:00 2001 From: jpeska Date: Fri, 16 Aug 2024 13:19:17 +0200 Subject: [PATCH] Enable Gating for firewalld on RHEL10 --- .fmf/version | 1 + ci.fmf | 1 + gating.yaml | 9 +++++---- plans/destructive.fmf | 10 ++++++++++ plans/tier1-gating-heavy.fmf | 10 ++++++++++ plans/tier1-gating.fmf | 10 ++++++++++ plans/tier1-public.fmf | 7 +++++++ plans/tier2-internal.fmf | 10 ++++++++++ 8 files changed, 54 insertions(+), 4 deletions(-) create mode 100644 .fmf/version create mode 100644 ci.fmf create mode 100644 plans/destructive.fmf create mode 100644 plans/tier1-gating-heavy.fmf create mode 100644 plans/tier1-gating.fmf create mode 100644 plans/tier1-public.fmf create mode 100644 plans/tier2-internal.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/ci.fmf b/ci.fmf new file mode 100644 index 0000000..c5aa0e0 --- /dev/null +++ b/ci.fmf @@ -0,0 +1 @@ +resultsdb-testcase: separate diff --git a/gating.yaml b/gating.yaml index 5b825fd..9587366 100644 --- a/gating.yaml +++ b/gating.yaml @@ -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} diff --git a/plans/destructive.fmf b/plans/destructive.fmf new file mode 100644 index 0000000..1e4ce7b --- /dev/null +++ b/plans/destructive.fmf @@ -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 diff --git a/plans/tier1-gating-heavy.fmf b/plans/tier1-gating-heavy.fmf new file mode 100644 index 0000000..f4a4c21 --- /dev/null +++ b/plans/tier1-gating-heavy.fmf @@ -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 diff --git a/plans/tier1-gating.fmf b/plans/tier1-gating.fmf new file mode 100644 index 0000000..566420e --- /dev/null +++ b/plans/tier1-gating.fmf @@ -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 diff --git a/plans/tier1-public.fmf b/plans/tier1-public.fmf new file mode 100644 index 0000000..8995ed8 --- /dev/null +++ b/plans/tier1-public.fmf @@ -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 diff --git a/plans/tier2-internal.fmf b/plans/tier2-internal.fmf new file mode 100644 index 0000000..3e1d7d3 --- /dev/null +++ b/plans/tier2-internal.fmf @@ -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