From 1f4beb831d7dcf72aa3b40f394cd0f19935997f1 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Tue, 3 Dec 2024 10:55:05 -0500 Subject: [PATCH] Add gating control files Resolves: RHEL-60802 Signed-off-by: David Cantrell --- forge-srpm-macros.spec | 7 ++++++- gating.yaml | 6 ++++++ plans/main.fmf | 13 +++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 gating.yaml create mode 100644 plans/main.fmf diff --git a/forge-srpm-macros.spec b/forge-srpm-macros.spec index 96b0fc1..f9831f7 100644 --- a/forge-srpm-macros.spec +++ b/forge-srpm-macros.spec @@ -5,7 +5,7 @@ Name: forge-srpm-macros Version: 0.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Macros to simplify packaging of forge-hosted projects License: GPL-1.0-or-later @@ -63,8 +63,13 @@ export MACRO_LUA_DIR="%{buildroot}%{_rpmluadir}" %changelog +* Tue Dec 03 2024 David Cantrell - 0.4.0-2 +- Add gating control files + Resolves: RHEL-60802 + * Mon Dec 02 2024 David Cantrell - 0.4.0-1 - Upgrade to 0.4.0 + Resolves: RHEL-60802 * Tue Oct 29 2024 Troy Dawson - 0.2.0-5 - Bump release for October 2024 mass rebuild: diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..4ca9235 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plans/main.fmf b/plans/main.fmf new file mode 100644 index 0000000..8c15d27 --- /dev/null +++ b/plans/main.fmf @@ -0,0 +1,13 @@ +summary: Run forge-srpm-macros tests +discover: + how: fmf + dist-git-source: true +prepare: + how: install + package: python3-pytest + missing: fail +execute: + script: + - cd /fmf/root + - pytest tests + - ls -FC