Unify RHEL 8, RHEL 9 gating tests

This commit is contained in:
Richard W.M. Jones 2021-06-02 13:50:00 +01:00
parent a696f8929e
commit 0ea9cb6a59
3 changed files with 19 additions and 0 deletions

View File

@ -1,8 +1,10 @@
--- !Policy --- !Policy
product_versions: product_versions:
- rhel-8
- rhel-9 - rhel-9
decision_context: osci_compose_gate decision_context: osci_compose_gate
rules: rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: xen-ci.brew-build.tier1.functional} - !PassingTestCaseRule {test_case_name: xen-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: 3rd-esxi-esxi65.brew-build.tier1.functional} - !PassingTestCaseRule {test_case_name: 3rd-esxi-esxi65.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: 3rd-hyperv-2019-ci.brew-build.tier1.functional} - !PassingTestCaseRule {test_case_name: 3rd-hyperv-2019-ci.brew-build.tier1.functional}

6
tests/basic-test.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash -
set -e
set -x
# This test requires root to run.
virt-what

11
tests/tests.yml Normal file
View File

@ -0,0 +1,11 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- virt-what
tests:
- simple:
dir: .
run: ./basic-test.sh