From 2cf16fc977fea21a0099e20b8890c0b5e8011a04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Mon, 14 Apr 2025 13:53:54 +0200 Subject: [PATCH] tests: sync tmt gating configuration with RHEL 10 The changes are based on the state captured in commit 5378f03e6423f41502a04facea5c2fe53d07b1f6. Related: https://gitlab.com/redhat/centos-stream/rpms/tar/-/merge_requests/11 --- .fmf/version | 1 + ci.fmf | 2 ++ gating.yaml | 4 ++-- plans.fmf | 10 ++++++++++ tests/tests.yml | 16 ---------------- 5 files changed, 15 insertions(+), 18 deletions(-) create mode 100644 .fmf/version create mode 100644 ci.fmf create mode 100644 plans.fmf delete mode 100644 tests/tests.yml 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..da71d9f --- /dev/null +++ b/ci.fmf @@ -0,0 +1,2 @@ +# Docs: https://docs.fedoraproject.org/en-US/ci/tmt/#_multiple_plans +resultsdb-testcase: separate diff --git a/gating.yaml b/gating.yaml index 031996f..ea3831d 100644 --- a/gating.yaml +++ b/gating.yaml @@ -1,6 +1,6 @@ --- !Policy product_versions: - - rhel-9 + - rhel-* 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.fmf b/plans.fmf new file mode 100644 index 0000000..3c2ac2e --- /dev/null +++ b/plans.fmf @@ -0,0 +1,10 @@ +/tier1-internal: + discover: + how: fmf + url: https://pkgs.devel.redhat.com/git/tests/tar + filter: 'tier: 1 | tag: Tier1,Tier2,Tier3' + execute: + how: tmt + adjust: + enabled: false + when: distro == centos-stream or distro == fedora diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 5e07ba2..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,16 +0,0 @@ -# This package uses external repositories for maintaining CI test cases. -# Please don't edit this file if possible. - -- hosts: localhost - roles: - - role: standard-test-beakerlib - repositories: - - repo: https://src.fedoraproject.org/tests/tar.git - dest: tar - # TODO: minimize: https://pagure.io/standard-test-roles/issue/294 - fmf_filter: "tier: 1, 2" - # TODO: minimize: https://pagure.io/standard-test-roles/issue/294 - tags: - - classic - - container - - atomic