diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..648918d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/libvirt-dbus-RHEL-Add-gating-tests-for-RHEL-9.patch b/libvirt-dbus-RHEL-Add-gating-tests-for-RHEL-9.patch new file mode 100644 index 0000000..76a65d8 --- /dev/null +++ b/libvirt-dbus-RHEL-Add-gating-tests-for-RHEL-9.patch @@ -0,0 +1,52 @@ +From a8779f389081942b5090b12932c1078694e5b585 Mon Sep 17 00:00:00 2001 +Message-Id: +From: Pavel Hrdina +Date: Wed, 30 Jun 2021 16:05:45 +0200 +Subject: [PATCH] RHEL: Add gating tests for RHEL-9 + +Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1950602 + +Signed-off-by: Pavel Hrdina +--- + .distro/gating.yaml | 6 ++++++ + .distro/tests/tests.yml | 15 +++++++++++++++ + 2 files changed, 21 insertions(+) + create mode 100644 .distro/gating.yaml + create mode 100644 .distro/tests/tests.yml + +diff --git a/.distro/gating.yaml b/.distro/gating.yaml +new file mode 100644 +index 0000000..648918d +--- /dev/null ++++ b/.distro/gating.yaml +@@ -0,0 +1,6 @@ ++--- !Policy ++product_versions: ++ - rhel-9 ++decision_context: osci_compose_gate ++rules: ++ - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} +diff --git a/.distro/tests/tests.yml b/.distro/tests/tests.yml +new file mode 100644 +index 0000000..8b4d3a1 +--- /dev/null ++++ b/.distro/tests/tests.yml +@@ -0,0 +1,15 @@ ++- hosts: localhost ++ roles: ++ - role: standard-test-source ++ tags: ++ - classic ++ - role: standard-test-basic ++ tags: ++ - classic ++ tests: ++ - smoke: ++ dir: source/tests ++ run: TEST_INSTALLED=1 pytest-3 ++ required_packages: ++ - python3-pytest ++ - dbus-daemon +-- +2.31.1 + diff --git a/libvirt-dbus.spec b/libvirt-dbus.spec index 3bfd5b5..5d9d2d1 100644 --- a/libvirt-dbus.spec +++ b/libvirt-dbus.spec @@ -8,11 +8,13 @@ Name: libvirt-dbus Version: 1.4.1 -Release: 1%{?dist}%{?extra_release} +Release: 2%{?dist}%{?extra_release} Summary: libvirt D-Bus API binding License: LGPLv2+ URL: https://libvirt.org/ Source0: https://libvirt.org/sources/dbus/%{name}-%{version}.tar.xz +Patch1: libvirt-dbus-RHEL-Add-gating-tests-for-RHEL-9.patch + BuildRequires: git BuildRequires: gcc @@ -74,6 +76,9 @@ exit 0 %{_mandir}/man8/libvirt-dbus.8* %changelog +* Wed Jun 30 2021 Pavel Hrdina - 1.4.1-2 +- RHEL: Add gating tests for RHEL-9 (rhbz#1950602) + * Wed Jun 30 2021 Pavel Hrdina - 1.4.1-1 - Rebased to libvirt-dbus-1.4.1 (rhbz#1977337)