Add gating definition for RHEL 9

Related: rhbz#1947473

Signed-off-by: Kaleemullah Siddiqui <ksiddiqu@redhat.com>
This commit is contained in:
Kaleemullah Siddiqui 2021-06-08 21:34:46 +05:30
parent 1950a612c1
commit 59480f99fc
2 changed files with 30 additions and 0 deletions

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
# recipients: abokovoy, frenaud, kaleem, ftrivino, cheimes
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

23
tests/tests.yml Normal file
View File

@ -0,0 +1,23 @@
---
# 1minutetip --buildroot
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
- role: standard-test-basic
required_packages:
- python3-cffi
- python3-pytest
- python3-devel
- gcc
tests:
- unittests:
dir: "source"
# cffi1 and test_version depend on files that are not packaged
run: >-
rm -rf cffi* testing/cffi0/test_version.py &&
pytest-3 testing/cffi0