Add support for gating

Resolves: RHEL-7884
Signed-off-by: Pavel Reichl <preichl@redhat.com>
This commit is contained in:
Pavel Reichl 2024-02-13 00:05:20 +01:00
parent 0309e95306
commit 198a3a8f1f
3 changed files with 29 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

@ -4,7 +4,7 @@
Name: rpcbind
Version: 1.2.6
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Universal Addresses to RPC Program Number Mapper
License: BSD
URL: https://sourceforge.net/projects/rpcbind/
@ -125,6 +125,10 @@ fi
%attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir}
%changelog
* Mon Feb 12 2024 Pavel Reichl <preichl@redhat.com> - 1.2.6-6
- Add support for gating
- Related: RHEL-7884
* Tue Sep 6 2022 Steve Dickson <steved@redhat.com> - 1.2.6-5
- Fixed a typo in changelog (bz 2115517)

18
tests/tests.yml Normal file
View File

@ -0,0 +1,18 @@
---
# Tests that run in classic context
- hosts: localhost
roles:
- role: standard-test-beakerlib
use_beakerlib_libraries: yes
tags:
- classic
repositories:
- repo: "https://pkgs.devel.redhat.com/git/tests/nfs-utils"
dest: "tests"
tests:
- tests/function/nfs-mount-options-all
- tests/rpcbind/rpcinfo_common
- tests/rpcbind/services/systemd/rpcbind
required_packages:
- nfs-utils
- redhat-lsb-core # lsb_release is needed by tests