From e6d3e52b7d5f4d25d126a19b196a757c956f55ea Mon Sep 17 00:00:00 2001 From: Martin Banas Date: Thu, 14 Nov 2024 09:57:29 +0100 Subject: [PATCH] Enable gating via tmt plans in testing farm. There's an extesion of testing with this commit. Where previously we were running CI-Tier-1 tests for librepo + ci-dnf-stack, now we will run CI-Tier-1 tests for dnf + librepo + ci-dnf-stack. --- .fmf/version | 1 + ci.fmf | 1 + gating.yaml | 1 + plans/internal/CI-Tier-1.fmf | 15 +++++++++++++++ 4 files changed, 18 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..c734485 --- /dev/null +++ b/plans/internal/CI-Tier-1.fmf @@ -0,0 +1,15 @@ +summary: Internal CI-Tier-1 tests plan +discover: + - name: librepo + how: fmf + filter: 'tag: CI-Tier-1' + url: https://pkgs.devel.redhat.com/git/tests/librepo + - name: dnf + how: fmf + filter: 'tag: CI-Tier-1' + url: https://pkgs.devel.redhat.com/git/tests/dnf +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream or distro == fedora