From 4cb29304f5c5f2be861dfa1a2b8497e8999b6ccc Mon Sep 17 00:00:00 2001 From: Martin Banas Date: Tue, 12 Nov 2024 10:43:34 +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 libsolv + ci-dnf-stack, now we will run CI-Tier-1 tests for dnf + libsolv + ci-dnf-stack. --- .fmf/version | 1 + ci.fmf | 1 + gating.yaml | 1 + plans/internal/CI-Tier-1.fmf | 16 ++++++++++++++++ 4 files changed, 19 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 b975eda..4167fc8 100644 --- a/gating.yaml +++ b/gating.yaml @@ -4,4 +4,5 @@ product_versions: decision_context: osci_compose_gate rules: - !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..92e9912 --- /dev/null +++ b/plans/internal/CI-Tier-1.fmf @@ -0,0 +1,16 @@ +summary: Internal CI-Tier-1 tests plan +discover: + - name: libsolv + how: fmf + filter: 'tag: CI-Tier-1' + url: https://pkgs.devel.redhat.com/git/tests/libsolv + - name: ci-dnf-stack + how: fmf + url: https://pkgs.devel.redhat.com/git/tests/dnf + test: + - /Sanity/run-upstream-tests-on-rhel +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream or distro == fedora