Enable OSCI Gating

[skip changelog]

Resolves: RHEL-46071

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
This commit is contained in:
Vladis Dronov 2024-10-30 18:01:35 +01:00
parent f2f0215f3c
commit d21111484b
4 changed files with 28 additions and 0 deletions

6
gating.yaml Normal file
View File

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

7
tests/README Normal file
View File

@ -0,0 +1,7 @@
A test should be configured as BaseOS CI test (not an OSCI one), as it require
an x86_64 machine with QAT_4XXX (or later) hardware, so it should be run in Beaker.
see: https://one.redhat.com/rhel-development-guide/#proc_enable-gating_assembly_enabling-gating
and: https://docs.engineering.redhat.com/display/RTT/Onboarding+gating+tests
and: https://docs.engineering.redhat.com/pages/viewpage.action?pageId=53110084
and: https://docs.engineering.redhat.com/display/RTT/Creating+and+Updating+beaker+test

5
tests/nulltest.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
# There is a test binary and %check rpm target for testing
echo QAT-ZSTD-Plugin nulltest is PASS
exit 0

10
tests/tests.yml Normal file
View File

@ -0,0 +1,10 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- nulltest:
dir: .
run: nulltest.sh