From 6616b58b01ca77d5edc992fc55659a9a99ea69fd Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 2 Jun 2021 13:50:00 +0100 Subject: [PATCH] Unify RHEL 8, RHEL 9 gating tests resolves: rhbz#1967057 (cherry picked from commit 0ea9cb6a593b561dbead8224d91ea789d4db75ce) --- gating.yaml | 2 ++ tests/basic-test.sh | 6 ++++++ tests/tests.yml | 11 +++++++++++ 3 files changed, 19 insertions(+) create mode 100755 tests/basic-test.sh create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml index d8e2e96..f34986d 100755 --- a/gating.yaml +++ b/gating.yaml @@ -1,8 +1,10 @@ --- !Policy product_versions: + - rhel-8 - rhel-9 decision_context: osci_compose_gate rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.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-hyperv-2019-ci.brew-build.tier1.functional} diff --git a/tests/basic-test.sh b/tests/basic-test.sh new file mode 100755 index 0000000..e1dc226 --- /dev/null +++ b/tests/basic-test.sh @@ -0,0 +1,6 @@ +#!/bin/bash - +set -e +set -x + +# This test requires root to run. +virt-what diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..46cdaf4 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,11 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + required_packages: + - virt-what + tests: + - simple: + dir: . + run: ./basic-test.sh