From 8452f17b46df35813e8ee4b0ff74dd220fbe425d Mon Sep 17 00:00:00 2001 From: Kaleemullah Siddiqui Date: Tue, 8 Jun 2021 21:24:29 +0530 Subject: [PATCH] Add gating definition for RHEL 9 Related: rhbz#1947473 Signed-off-by: Kaleemullah Siddiqui --- gating.yaml | 7 +++++++ tests/tests.yml | 20 ++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6f49862 --- /dev/null +++ b/gating.yaml @@ -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} diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..e7eb935 --- /dev/null +++ b/tests/tests.yml @@ -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/"