From 33cd7bddeec3d566c7af8a7739e39b9e4309876f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Mon, 31 Mar 2025 18:09:15 +0200 Subject: [PATCH] tests: add tmt gating test plans Related: RHEL-83283 --- ci.fmf | 1 + gating.yaml | 4 +--- plans/shell.fmf | 14 -------------- plans/tier1-internal.fmf | 27 +++++++++++++++++++++++++++ 4 files changed, 29 insertions(+), 17 deletions(-) create mode 100644 ci.fmf delete mode 100644 plans/shell.fmf create mode 100644 plans/tier1-internal.fmf 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 4621fbe..f7de446 100644 --- a/gating.yaml +++ b/gating.yaml @@ -3,6 +3,4 @@ product_versions: - rhel-9 decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} - - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} - + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional} diff --git a/plans/shell.fmf b/plans/shell.fmf deleted file mode 100644 index 6c123e4..0000000 --- a/plans/shell.fmf +++ /dev/null @@ -1,14 +0,0 @@ -summary: - Run relevant tests from the shell tests repository -discover: - how: fmf - url: https://src.fedoraproject.org/tests/shell - filter: component:ksh -prepare: - how: install - package: ksh -execute: - how: tmt -environment: - PACKAGES: ksh - SH_BIN: ksh diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf new file mode 100644 index 0000000..73ecd13 --- /dev/null +++ b/plans/tier1-internal.fmf @@ -0,0 +1,27 @@ +summary: Internal gating tests plan +discover: + - name: Internal gating tests plan (bash) + how: fmf + filter: 'tag: CI-Tier-1 & component: ksh' + url: https://pkgs.devel.redhat.com/git/tests/bash + - name: Internal gating tests plan (dash) + how: fmf + filter: 'tag: CI-Tier-1 & component: ksh' + url: https://pkgs.devel.redhat.com/git/tests/dash + - name: Internal gating tests plan (ksh) + how: fmf + filter: 'tag: CI-Tier-1 & component: ksh' + url: https://pkgs.devel.redhat.com/git/tests/ksh + - name: Internal gating tests plan (mksh) + how: fmf + filter: 'tag: CI-Tier-1 & component: ksh' + url: https://pkgs.devel.redhat.com/git/tests/mksh + - name: Internal gating tests plan (zsh) + how: fmf + filter: 'tag: CI-Tier-1 & component: ksh' + url: https://pkgs.devel.redhat.com/git/tests/zsh +execute: + how: tmt +adjust: + enabled: false + when: distro == centos-stream or distro == fedora