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:24:29 +05:30
parent 7cd3670a8e
commit 8452f17b46
2 changed files with 27 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}

20
tests/tests.yml Normal file
View File

@ -0,0 +1,20 @@
---
- hosts: localhost
tags:
- classic
pre_tasks:
- name: Install dos2unix to build the sources
package:
name: dos2unix
state: present
roles:
- role: standard-test-source
- role: standard-test-basic
required_packages:
- python3-pycparser
- python3-pytest
- cpp
tests:
- unittests:
dir: "source"
run: "rm -rf pycparser && pytest-3 tests/"