From 1f6a7f0ae9517a00820594108d2fdd1ccaaddeba Mon Sep 17 00:00:00 2001 From: Michael Petlan Date: Tue, 14 Dec 2021 14:23:48 +0100 Subject: [PATCH] Enable gating for opencsd Resolves: rhbz#2031794 The test is a dummy stub, however, we first need to add something that will let opencsd appear in RHEL-9, then we can start using it in real situations, then we can add actual tests that use the lib. Signed-off-by: Michael Petlan --- gating.yaml | 6 ++++++ opencsd.spec | 6 +++++- tests/tests.yml | 9 +++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 gating.yaml create mode 100644 tests/tests.yml 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/opencsd.spec b/opencsd.spec index 9dff615..14ea1d9 100644 --- a/opencsd.spec +++ b/opencsd.spec @@ -2,7 +2,7 @@ Name: opencsd Version: 1.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: An open source CoreSight(tm) Trace Decode library License: BSD @@ -58,6 +58,10 @@ PREFIX=%{buildroot}%{_prefix} LIB_PATH=%{_lib} make install DISABLE_STATIC=1 DEF #------------------------------------------------------------------------------ %changelog +* Tue Dec 14 2021 Michael Petlan - 1.0.0-5 +- Added gating + Related: rhbz#2031794 + * Tue Dec 07 2021 Michael Petlan - 1.0.0-4 - Bump NVR, needed for erratum RHBA-2021:85351 Related: rhbz#2029382 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..57183b8 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,9 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: . + run: "echo PASS"