From 6580c34ed67c46f7067fb880fde9e438a4e0825b Mon Sep 17 00:00:00 2001 From: Michal Ruprich Date: Wed, 29 Mar 2023 11:35:47 +0000 Subject: [PATCH] Adding tmt test files --- ci.fmf | 14 +------------- gating.yaml | 2 ++ plans/public.fmf | 7 +++++++ plans/tier1-internal.fmf | 11 +++++++++++ rpminspect.yaml | 3 +++ 5 files changed, 24 insertions(+), 13 deletions(-) create mode 100644 plans/public.fmf create mode 100644 plans/tier1-internal.fmf create mode 100644 rpminspect.yaml diff --git a/ci.fmf b/ci.fmf index 1d8a347..c5aa0e0 100644 --- a/ci.fmf +++ b/ci.fmf @@ -1,13 +1 @@ -/test: - summary: - CI plan, picks Tier1 tests, runs in beakerlib. - description: - This special plan has to be named ci.fmf to run in CI. - It selects test which have 'tier 1' in their main.fmf file - discover: - - name: tier1 - how: fmf - filter: 'tier: 1' - repository: "https://src.fedoraproject.org/tests/lftp.git" - execute: - how: beakerlib +resultsdb-testcase: separate diff --git a/gating.yaml b/gating.yaml index 5923021..a2f17d6 100644 --- a/gating.yaml +++ b/gating.yaml @@ -3,6 +3,8 @@ product_versions: - rhel-9 decision_context: osci_compose_gate rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/public.functional} - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier2.functional} - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier3.functional} diff --git a/plans/public.fmf b/plans/public.fmf new file mode 100644 index 0000000..cfb5f5a --- /dev/null +++ b/plans/public.fmf @@ -0,0 +1,7 @@ +summary: Test plan that runs all tests from tests repo. +discover: + how: fmf + url: https://src.fedoraproject.org/tests/lftp.git +execute: + how: tmt + diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 0000000..90830ba --- /dev/null +++ b/plans/tier1-internal.fmf @@ -0,0 +1,11 @@ +summary: CI plan, picks Tier1 tests, runs in beakerlib. +discover: + - name: rhel + how: fmf + filter: 'tier: 1' + url: git://pkgs.devel.redhat.com/tests/lftp +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream-9 diff --git a/rpminspect.yaml b/rpminspect.yaml new file mode 100644 index 0000000..9f8a001 --- /dev/null +++ b/rpminspect.yaml @@ -0,0 +1,3 @@ +--- +inspections: + badfuncs: off