From a6726afd3b27d619db7bbd3dc323959e5f457bad Mon Sep 17 00:00:00 2001 From: Mark Huth Date: Wed, 15 Jun 2022 16:23:31 +1000 Subject: [PATCH] Add gating tests Simple initial test that just runs yara --version Related: rhbz2074620 --- gating.yaml | 6 ++++++ tests/tests.yml | 17 +++++++++++++++++ 2 files changed, 23 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..648918d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !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..052ce4c --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,17 @@ +--- +- hosts: localhost + gather_facts: yes + roles: + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: . + run: /usr/bin/yara --version +# tasks: + # This is only used as part of rpm-ostree which has extensive tests + # and there is no point to testing it separately. + # - name: true + # shell: true +