From 9db558266a1d0b3fa6695a74765758e98999a53d Mon Sep 17 00:00:00 2001 From: Michal Ruprich Date: Wed, 5 Apr 2023 07:19:24 +0000 Subject: [PATCH] Tmt testing files --- .fmf/version | 1 + ci.fmf | 1 + gating.yaml | 2 ++ plans/public.fmf | 7 +++++++ plans/tier1-internal.fmf | 11 +++++++++++ sources | 2 +- 6 files changed, 23 insertions(+), 1 deletion(-) 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 739fd9d..8f4ab60 100644 --- a/gating.yaml +++ b/gating.yaml @@ -6,3 +6,5 @@ rules: - !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.tedude.validation} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/public.functional} diff --git a/plans/public.fmf b/plans/public.fmf new file mode 100644 index 0000000..1c9f709 --- /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/net-tools.git +execute: + how: tmt + diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 0000000..84838a6 --- /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/net-tools +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream-9 diff --git a/sources b/sources index 2a2ab60..d4d6190 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -47d1e96257ea12f238cb767d58648056 net-tools-2.0.20160912git.tar.xz +SHA512 (net-tools-2.0.20160912git.tar.xz) = 0d9399e792be8aa77375ed47a67344088a11a352c2acaf87e272a7dee31273a90b9412767282056148d2185daefe3444ab8760411104c70096881ce8bf24659c