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 22:07:56 +05:30
parent 5775d3858f
commit 1ef864de5e
2 changed files with 34 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}

27
tests/tests.yml Normal file
View File

@ -0,0 +1,27 @@
---
- hosts: localhost
tags:
- classic
pre_tasks:
- import_role:
name: standard-test-source
vars:
flatten: false
roles:
- role: standard-test-basic
required_packages:
- python3-pyasn1
- python3-pyasn1-modules
- python3-pytest
tests:
- unittests-pyasn1:
dir: "source/pyasn1-0.4.8"
run: >-
rm -rf pyasn1* &&
pytest-3 tests/
- unittests-pyasn1-modules:
dir: "source/pyasn1-modules-0.4.8"
run: >-
rm -rf pyasn1_modules* &&
pytest-3 tests/