diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..c9190f8 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} + diff --git a/tests/runtest.sh b/tests/runtest.sh new file mode 100755 index 0000000..89f4d82 --- /dev/null +++ b/tests/runtest.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cd /var/str/source +pytest -v test diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..d6f1aeb --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,24 @@ +- hosts: localhost + roles: + - role: standard-test-source + tags: + - always + required_packages: + - git + - role: standard-test-basic + tags: + - classic + required_packages: + - tpm2-tss + - tpm2-tss-devel + - tpm2-tools + - swtpm + - python3 + - dbus-daemon + - pytest + tests: + - intel-tpm2: + dir: . + run: dbus-run-session ./runtest.sh + timeout: 60m +