Enable fmf tests

This commit is contained in:
Ondrej Mejzlik 2023-03-24 14:03:33 +00:00 committed by Michal Ruprich
parent 9db1b654c3
commit de58d18b53
5 changed files with 24 additions and 24 deletions

14
ci.fmf
View File

@ -1,13 +1 @@
/test:
summary:
CI plan, picks Tier1 tests, runs in beakerlib.
description:
This special plan has to be named ci.fmf to run in CI.
It selects test which have 'tier 1' in their main.fmf file
discover:
- name: tier1
how: fmf
filter: 'tier: 1'
url: "https://src.fedoraproject.org/tests/tcpdump.git"
execute:
how: beakerlib
resultsdb-testcase: separate

View File

@ -5,3 +5,4 @@ decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tedude.validation}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}

7
plans/public.fmf Normal file
View File

@ -0,0 +1,7 @@
summary: Test plan that runs all tests from tests repo.
discover:
how: fmf
url: https://src.fedoraproject.org/tests/tcpdump.git
execute:
how: tmt

15
plans/tier1-internal.fmf Normal file
View File

@ -0,0 +1,15 @@
summary: CI plan, picks Tier1 tests, runs in beakerlib.
discover:
- name: rhel
how: fmf
filter: 'tier: 1'
url: git://pkgs.devel.redhat.com/tests/tcpdump
- name: fedora
how: fmf
filter: 'tier: 1'
url: "https://src.fedoraproject.org/tests/tcpdump.git"
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream-9

View File

@ -1,11 +0,0 @@
---
# This first play always runs on the local staging system
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/tcpdump.git"
dest: "tcpdump"
fmf_filter: "tier: 1"