From 4277639832fcf8007fd442de5547fcf9e5c344ed Mon Sep 17 00:00:00 2001 From: Murphy Zhou Date: Thu, 21 Nov 2024 11:40:38 +0800 Subject: [PATCH] libmnl: c10s: add tmt plan for gating Signed-off-by: Murphy Zhou --- .fmf/version | 1 + gating.yaml | 7 +++++++ plans/tier1-internal.fmf | 10 ++++++++++ plans/tier1-public.fmf | 6 ++++++ 4 files changed, 24 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/tier1-internal.fmf create mode 100644 plans/tier1-public.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/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6977e6d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - rhel-10 +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} diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 0000000..ad59321 --- /dev/null +++ b/plans/tier1-internal.fmf @@ -0,0 +1,10 @@ +summary: Internal Tier1-gating beakerlib tests +discover: + how: fmf + url: https://pkgs.devel.redhat.com/git/tests/libmnl + filter: 'tag: CI-gating & 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..4e4c29e --- /dev/null +++ b/plans/tier1-public.fmf @@ -0,0 +1,6 @@ +summary: sanity chcek for libmnl +execute: + script: rpm -qv libmnl +adjust: + enabled: false + when: distro == centos-stream or distro == fedora