From 0e086fa284f2e0a7d7f294e1963125af6a783fad Mon Sep 17 00:00:00 2001 From: Matus Marhefka Date: Fri, 8 Apr 2022 16:24:22 +0200 Subject: [PATCH] Fedora CI: replace STI with tmt --- .fmf/version | 1 + gating.yaml | 4 ++-- plans/main.fmf | 6 ++++++ tests/tests.yml | 10 ---------- 4 files changed, 9 insertions(+), 12 deletions(-) create mode 100644 .fmf/version create mode 100644 plans/main.fmf delete mode 100644 tests/tests.yml diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml index 24b6cf5..4b3cff0 100644 --- a/gating.yaml +++ b/gating.yaml @@ -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-* diff --git a/plans/main.fmf b/plans/main.fmf new file mode 100644 index 0000000..b077636 --- /dev/null +++ b/plans/main.fmf @@ -0,0 +1,6 @@ +summary: Run tests from openscap tests repository +discover: + how: fmf + url: https://src.fedoraproject.org/tests/openscap +execute: + how: tmt diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 1145677..0000000 --- a/tests/tests.yml +++ /dev/null @@ -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"