diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..4ca9235 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/README b/tests/README new file mode 100644 index 0000000..c828519 --- /dev/null +++ b/tests/README @@ -0,0 +1,7 @@ +A test should be configured as BaseOS CI test (not an OSCI one), as it require +an x86_64 machine with QAT_4XXX (or later) hardware, so it should be run in Beaker. + +see: https://one.redhat.com/rhel-development-guide/#proc_enable-gating_assembly_enabling-gating +and: https://docs.engineering.redhat.com/display/RTT/Onboarding+gating+tests +and: https://docs.engineering.redhat.com/pages/viewpage.action?pageId=53110084 +and: https://docs.engineering.redhat.com/display/RTT/Creating+and+Updating+beaker+test diff --git a/tests/nulltest.sh b/tests/nulltest.sh new file mode 100755 index 0000000..55d2351 --- /dev/null +++ b/tests/nulltest.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +# There is a test binary and %check rpm target for testing +echo QAT-ZSTD-Plugin nulltest is PASS +exit 0 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..0e807fa --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,10 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - nulltest: + dir: . + run: nulltest.sh