From b2c1d5092859368d478117f8a0b419fbfabbaa7b Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Mon, 25 Nov 2024 17:07:37 +0100 Subject: [PATCH] Migrate to TMT-style gating in C9S This is required for RHIVOS, see VROOM-23635. --- .fmf/version | 1 + ci.fmf | 1 + gating.yaml | 6 ++++++ plans.fmf | 10 ++++++++++ 4 files changed, 18 insertions(+) create mode 100644 .fmf/version create mode 100644 ci.fmf create mode 100644 gating.yaml create mode 100644 plans.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 new file mode 100644 index 0000000..ea3831d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional} diff --git a/plans.fmf b/plans.fmf new file mode 100644 index 0000000..1b638b7 --- /dev/null +++ b/plans.fmf @@ -0,0 +1,10 @@ +/tier1-internal: + discover: + how: fmf + url: https://pkgs.devel.redhat.com/git/tests/libgudev + filter: 'tier: 1' + execute: + how: tmt + adjust: + enabled: false + when: distro == centos-stream or distro == fedora