Switch gating to tmt

Resolves: RHEL-43241
This commit is contained in:
Milan Lysonek 2024-08-07 12:06:55 +02:00
parent a96b378496
commit 2c297f0cb2
5 changed files with 19 additions and 27 deletions

14
ci.fmf
View File

@ -1,13 +1 @@
summary: Merge Request CI tests
discover:
- how: fmf
url: https://src.fedoraproject.org/tests/openscap.git
filter: 'tag: CI-Tier-1'
adjust:
- when: distro == rhel
discover+:
- how: fmf
url: git://pkgs.devel.redhat.com/tests/openscap
filter: 'tag: CI-Tier-1'
execute:
how: tmt
resultsdb-testcase: separate

View File

@ -3,6 +3,5 @@ product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.ci-beaker.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tedude.validation}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/ci/default-hw-tier1.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/ci/custom-hw-tier1.functional}

View File

@ -1,6 +1,6 @@
Name: openscap
Version: 1.3.10
Release: 2%{?dist}
Release: 3%{?dist}
Epoch: 1
Summary: Set of open source libraries enabling integration of the SCAP line of standards
License: LGPLv2+
@ -198,6 +198,9 @@ pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm
%{_bindir}/oscap-run-sce-script
%changelog
* Wed Aug 07 2024 Milan Lysonek <mlysonek@redhat.com> - 1:1.3.10-3
- Switch gating to tmt plan (RHEL-43241)
* Mon Apr 08 2024 Jan Černý <jcerny@redhat.com> - 1:1.3.10-2
- Explicitely disable dpkginfo probe

12
plans/ci.fmf Normal file
View File

@ -0,0 +1,12 @@
summary: CI test plan
/default-hw-tier1:
plan:
import:
url: https://pkgs.devel.redhat.com/git/tests/openscap
name: /plans/gating/default-hw-tier1
/custom-hw-tier1:
plan:
import:
url: https://pkgs.devel.redhat.com/git/tests/openscap
name: /plans/gating/custom-hw-tier1

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"