From c1406805d0ecfcbbd01c55ddb6e128aa5306525d Mon Sep 17 00:00:00 2001 From: Linqing Lu Date: Tue, 18 Jan 2022 19:44:46 +0000 Subject: [PATCH] Migrate gating test to OSCI from QE CI Resolves: rhbz#2042586 Signed-off-by: Linqing Lu --- gating.yaml | 2 +- tests/scripts/runtest.sh | 4 ++++ tests/tests.yml | 13 +++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tests/scripts/runtest.sh create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml index 117568c..648918d 100644 --- a/gating.yaml +++ b/gating.yaml @@ -3,4 +3,4 @@ product_versions: - rhel-9 decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: kernel-qe.kernel-ci.general-ima-evm-utils.tier1.functional} + - !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