Add tmt tests configurations

Resolves: RHEL-52096

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
Siteshwar Vashisht 2024-09-03 12:40:23 +02:00
parent 9cd23df32c
commit a1b572037a
4 changed files with 30 additions and 11 deletions

1
ci.fmf Normal file
View File

@ -0,0 +1 @@
resultsdb-testcase: separate

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/bash.functional}

23
plans/bash.fmf Normal file
View File

@ -0,0 +1,23 @@
summary: Run internal bash tests
discover:
- name: Internal bash gating tests (dash)
how: fmf
url: git://pkgs.devel.redhat.com/tests/dash
filter: 'tag: CI-Tier-1 & component: bash'
- name: Internal bash gating tests (bash)
how: fmf
url: git://pkgs.devel.redhat.com/tests/bash
filter: 'tag: CI-Tier-1 & component: bash'
- name: Internal bash gating tests (ksh)
how: fmf
url: git://pkgs.devel.redhat.com/tests/ksh
filter: 'tag: CI-Tier-1 & component: bash'
- name: Internal bash gating tests (zsh)
how: fmf
url: git://pkgs.devel.redhat.com/tests/zsh
filter: 'tag: CI-Tier-1 & component: bash'
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora

View File

@ -1,11 +0,0 @@
summary:
Run relevant tests from the shell tests repository
discover:
how: fmf
url: https://src.fedoraproject.org/tests/shell
filter: component:bash
execute:
how: tmt
environment:
PACKAGES: bash
SH_BIN: bash