Fedora CI: replace STI with tmt

This commit is contained in:
Matus Marhefka 2022-04-08 16:24:22 +02:00
parent 206c512a1b
commit 0e086fa284
4 changed files with 9 additions and 12 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -4,14 +4,14 @@ product_versions:
decision_context: bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/main.functional}
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/main.functional}
--- !Policy
product_versions:
- rhel-*

6
plans/main.fmf Normal file
View File

@ -0,0 +1,6 @@
summary: Run tests from openscap tests repository
discover:
how: fmf
url: https://src.fedoraproject.org/tests/openscap
execute:
how: tmt

View File

@ -1,10 +0,0 @@
# Tests that run in classic context
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/openscap.git"
dest: "openscap"
fmf_filter: "tier: 1, 2"