From 0cc5363b7af1cdd475229ce67edee25b3627b47c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Tue, 22 Apr 2025 13:54:54 +0200 Subject: [PATCH] tests: migrate to tmt-based gating (cherry-picked from commit fa889be6298aa90ec285a5354bdb3dc638899e27) --- .fmf/version | 1 + ci.fmf | 1 + gating.yaml | 2 +- plans/tier1-internal.fmf | 11 +++++++++++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .fmf/version create mode 100644 ci.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 eb7c84f..7a84520 100644 --- a/gating.yaml +++ b/gating.yaml @@ -3,4 +3,4 @@ product_versions: - rhel-8 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} diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 0000000..3284b10 --- /dev/null +++ b/plans/tier1-internal.fmf @@ -0,0 +1,11 @@ +summary: Internal gating tests plan +discover: + - name: Internal gating tests + how: fmf + filter: 'tag: Tier1,Tier2,Tier3' + url: https://pkgs.devel.redhat.com/git/tests/cpio +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream or distro == fedora