Related: RHELMISC-3914 - add gating.yaml file

Signed-off-by: Josef Ridky <jridky@redhat.com>
This commit is contained in:
Josef Ridky 2024-06-26 15:14:05 +02:00
parent 7e579cc205
commit 36365f9496
3 changed files with 48 additions and 1 deletions

View File

@ -12,7 +12,7 @@ Name: dump
%endif
Epoch: 1
Version: 0.4
Release: 0.57.%{PREVER}%{?dist}
Release: 0.58.%{PREVER}%{?dist}
License: BSD-3-Clause
URL: https://sourceforge.net/projects/dump/
Source: http://downloads.sourceforge.net/dump/dump-%{DUMP_VERSION}.tar.gz
@ -131,6 +131,9 @@ popd
%{_mandir}/man8/rrestore.8*
%changelog
* Wed Jun 26 2024 Josef Ridky <jridky@redhat.com> - 1:0.4-0.58.b47
- Add gating.yaml file
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:0.4-0.57.b47
- Bump release for June 2024 mass rebuild

7
gating.yaml Normal file
View File

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

37
plans/tier1.fmf Normal file
View File

@ -0,0 +1,37 @@
---
summary: Tier1 plan for restore
discover:
how: fmf
url: https://pkgs.devel.redhat.com/git/tests/restore
ref: master
filter: tier:1
prepare:
# Enable beaker-tasks repository
- how: shell
script: |
set -euxo pipefail
ENABLE_REPO_CMD="yum-config-manager --enable"
if command -v dnf >/dev/null 2>&1; then
ENABLE_REPO_CMD="dnf config-manager --set-enabled"
fi
${ENABLE_REPO_CMD} beaker-tasks || :
# Enable buildroot repository
- how: shell
script: |
set -exuo pipefail
if [[ -f /etc/os-release ]]; then
. /etc/os-release
if [[ "${ID:-}" == "rhel" && "${VERSION_ID%%.*}" -ge 8 ]]; then
dnf config-manager --enable rhel-CRB
fi
fi
execute:
how: tmt