Migrate gating test to OSCI from QE CI

Resolves: rhbz#2042586

Signed-off-by: Linqing Lu <lilu@redhat.com>
This commit is contained in:
Linqing Lu 2022-01-18 19:44:46 +00:00
parent f8dae177fe
commit c1406805d0
3 changed files with 18 additions and 1 deletions

View File

@ -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}

4
tests/scripts/runtest.sh Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/bash
evmctl
evmctl --version
bash /usr/share/doc/ima-evm-utils/ima-genkey-self.sh

13
tests/tests.yml Normal file
View File

@ -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