From 03f4821234ce7f326c4517d73e0a336f3d056797 Mon Sep 17 00:00:00 2001 From: Michal Ruprich Date: Thu, 30 Mar 2023 10:21:18 +0000 Subject: [PATCH] Adding tmt test files --- .fmf/version | 1 + ci.fmf | 1 + gating.yaml | 2 ++ plans/public.fmf | 7 +++++++ plans/tier1-internal.fmf | 11 +++++++++++ 5 files changed, 22 insertions(+) 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 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..c4eb357 --- /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/wget.git +execute: + how: tmt + diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 0000000..c1dba9f --- /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/wget +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream-9