From ce761a27c367549cd55affa364bf9d3e9c6d9bd0 Mon Sep 17 00:00:00 2001 From: Martin Banas Date: Mon, 4 Nov 2024 12:48:35 +0100 Subject: [PATCH] Enable gating through fmf plans in TMT. For now both an old way and new way through fmf plans is enabled. The legacy way to be disabled once the fmf plans are verified to work. --- .fmf/version | 1 + ci.fmf | 1 + gating.yaml | 1 + plans/internal/CI-Tier-1.fmf | 23 +++++++++++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 .fmf/version create mode 100644 ci.fmf create mode 100644 plans/internal/CI-Tier-1.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 2cf8f26..d5562d9 100644 --- a/gating.yaml +++ b/gating.yaml @@ -5,3 +5,4 @@ decision_context: osci_compose_gate rules: - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-gating.functional} - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.ci-dnf-stack-gating.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/internal/CI-Tier-1.functional} diff --git a/plans/internal/CI-Tier-1.fmf b/plans/internal/CI-Tier-1.fmf new file mode 100644 index 0000000..ccbf40f --- /dev/null +++ b/plans/internal/CI-Tier-1.fmf @@ -0,0 +1,23 @@ +summary: Internal CI-Tier-1 tests plan +discover: + - name: dnf + how: fmf + filter: 'tag: CI-Tier-1' + url: https://pkgs.devel.redhat.com/git/tests/dnf + - name: libdnf + how: fmf + filter: 'tag: CI-Tier-1' + url: https://pkgs.devel.redhat.com/git/tests/libdnf + - name: libmodulemd + how: fmf + filter: 'tag: CI-Tier-1' + url: https://pkgs.devel.redhat.com/git/tests/libmodulemd + - name: yum + how: fmf + filter: 'tag: CI-Tier-1' + url: https://pkgs.devel.redhat.com/git/tests/yum +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream or distro == fedora