From 399096205d8cec953131f5d8da23fcc9a13306af Mon Sep 17 00:00:00 2001 From: Linqing Lu Date: Tue, 9 Apr 2024 11:03:52 -0400 Subject: [PATCH] initial gating tests Signed-off-by: Linqing Lu --- gating.yaml | 6 ++++++ tests/scripts/runtest.sh | 4 ++++ tests/tests.yml | 13 +++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/scripts/runtest.sh create mode 100644 tests/tests.yml 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/scripts/runtest.sh b/tests/scripts/runtest.sh new file mode 100644 index 0000000..ea57866 --- /dev/null +++ b/tests/scripts/runtest.sh @@ -0,0 +1,4 @@ +#!/usr/bin/bash +evmctl +evmctl --version +bash /usr/share/doc/ima-evm-utils/ima-genkey-self.sh diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..7bab02e --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,13 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: scripts + run: ./runtest.sh + required_packages: + - ima-evm-utils + - ima-evm-utils-devel + - openssl \ No newline at end of file