libvirt-dbus-1.4.1-2.el9

- RHEL: Add gating tests for RHEL-9 (rhbz#1950602)

Resolves: rhbz#1950602
This commit is contained in:
Pavel Hrdina 2021-06-30 16:34:25 +02:00
parent 899e311f9d
commit ce7c56adcc
3 changed files with 64 additions and 1 deletions

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -0,0 +1,52 @@
From a8779f389081942b5090b12932c1078694e5b585 Mon Sep 17 00:00:00 2001
Message-Id: <a8779f389081942b5090b12932c1078694e5b585@dist-git>
From: Pavel Hrdina <phrdina@redhat.com>
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 <phrdina@redhat.com>
---
.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

View File

@ -8,11 +8,13 @@
Name: libvirt-dbus Name: libvirt-dbus
Version: 1.4.1 Version: 1.4.1
Release: 1%{?dist}%{?extra_release} Release: 2%{?dist}%{?extra_release}
Summary: libvirt D-Bus API binding Summary: libvirt D-Bus API binding
License: LGPLv2+ License: LGPLv2+
URL: https://libvirt.org/ URL: https://libvirt.org/
Source0: https://libvirt.org/sources/dbus/%{name}-%{version}.tar.xz Source0: https://libvirt.org/sources/dbus/%{name}-%{version}.tar.xz
Patch1: libvirt-dbus-RHEL-Add-gating-tests-for-RHEL-9.patch
BuildRequires: git BuildRequires: git
BuildRequires: gcc BuildRequires: gcc
@ -74,6 +76,9 @@ exit 0
%{_mandir}/man8/libvirt-dbus.8* %{_mandir}/man8/libvirt-dbus.8*
%changelog %changelog
* Wed Jun 30 2021 Pavel Hrdina <phrdina@redhat.com> - 1.4.1-2
- RHEL: Add gating tests for RHEL-9 (rhbz#1950602)
* Wed Jun 30 2021 Pavel Hrdina <phrdina@redhat.com> - 1.4.1-1 * Wed Jun 30 2021 Pavel Hrdina <phrdina@redhat.com> - 1.4.1-1
- Rebased to libvirt-dbus-1.4.1 (rhbz#1977337) - Rebased to libvirt-dbus-1.4.1 (rhbz#1977337)