Copy gating config from the crda package

... and adjust it for RHEL-9.
Needed to pass gating tests to be able to fix this:
Resolves: rhbz#1997398
This commit is contained in:
Michal Schmidt 2021-11-22 11:10:47 +01:00
parent 7c10f40381
commit 51d78b5d72
3 changed files with 26 additions and 0 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}

11
tests/scripts/run_tests.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
#
# Begin wih a very simple, "does the file exist?" check...
#
if [ ! -f /usr/lib/firmware/regulatory.db ]
then
exit 1 # no regulatory database installed, so fail
fi
exit 0 # got here? indicate success...

9
tests/tests.yml Normal file
View File

@ -0,0 +1,9 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: scripts
run: ./run_tests.sh