Fedora CI: replace STI with tmt

This commit is contained in:
Matus Marhefka 2022-04-11 17:38:09 +02:00
parent 538e9e4af3
commit adbc78f7e5
4 changed files with 11 additions and 13 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

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

6
plans/main.fmf Normal file
View File

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

View File

@ -1,9 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/scap-security-guide.git"
dest: "scap-security-guide"
fmf_filter: "tier: 1, 2"