From 44fc71c90de9efe7f6b36b434e20794b68729ff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavol=20=C5=BD=C3=A1=C4=8Dik?= Date: Fri, 10 May 2024 09:36:43 +0200 Subject: [PATCH] Add fmf test plans and fix gating --- .fmf/version | 1 + ci.fmf | 1 + gating.yaml | 6 +++--- minicom.spec | 3 +++ plans/public.fmf | 6 ++++++ plans/tier1-internal.fmf | 12 ++++++++++++ 6 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 .fmf/version create mode 100644 ci.fmf create mode 100644 plans/public.fmf create mode 100644 plans/tier1-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 16d63b0..cb921eb 100644 --- a/gating.yaml +++ b/gating.yaml @@ -1,7 +1,7 @@ --- !Policy product_versions: - - rhel-10 + - rhel-* decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} - + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/public.functional} diff --git a/minicom.spec b/minicom.spec index e488689..5977ac2 100644 --- a/minicom.spec +++ b/minicom.spec @@ -67,6 +67,9 @@ mkdir -p %{buildroot}%{_sysconfdir} %changelog +* Fri May 10 2024 Pavol Žáčik - 2.8-9 +- Add fmf test plans and fix gating + * Tue Apr 02 2024 Pavol Žáčik - 2.8-8 - Rebuilt after adding gating configuration diff --git a/plans/public.fmf b/plans/public.fmf new file mode 100644 index 0000000..6e46fe1 --- /dev/null +++ b/plans/public.fmf @@ -0,0 +1,6 @@ +summary: Test plan with all Fedora tests +discover: + how: fmf + url: https://src.fedoraproject.org/tests/minicom.git +execute: + how: tmt diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 0000000..e137657 --- /dev/null +++ b/plans/tier1-internal.fmf @@ -0,0 +1,12 @@ +summary: CI plan, picks internal Tier1 tests, runs in beakerlib. +discover: + - name: rhel + how: fmf + filter: 'tier: 1' + url: git://pkgs.devel.redhat.com/tests/minicom +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream, fedora + because: They don't have access to internal repos.