run relevant Tier1 tests via TMT

From now on, all relevant Tier1 tests will be executed via TMT.
This commit is contained in:
Milos Malik 2023-11-01 15:04:17 +01:00
parent 78a1079d35
commit bd4dd09bb0
3 changed files with 19 additions and 10 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

18
plans/selinux.fmf Normal file
View File

@ -0,0 +1,18 @@
summary: Tier 1 selinux-policy test plan
discover:
how: fmf
url: https://src.fedoraproject.org/tests/selinux.git
filter: "tier:1 & tag:-failinfedora | component:selinux-policy & tag:-failinfedora"
prepare:
how: shell
script: yum config-manager --set-enabled epel --set-enabled crb
execute:
how: tmt
adjust:
- when: distro ~= rhel-9
prepare+:
script+<: yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
- when: distro ~= rhel-8
prepare+:
script+<: yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

View File

@ -1,10 +0,0 @@
---
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/selinux.git"
dest: "selinux"
fmf_filter: "tier:1 | component:selinux-policy"