Add gating tests

Resolves: #2188490
This commit is contained in:
Marek Polacek 2023-04-21 16:09:06 -04:00
parent 3ea9b817f7
commit 2311adf4af
4 changed files with 29 additions and 0 deletions

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -0,0 +1,3 @@
Test Name: gts-smoketest
Author:
Short Description: Check the metapackage installability

10
tests/gts-smoketest/runtest.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
set -e
set -x
# This is a metapackage. It's main purpose is to pull other packages
# into play via the rpm deps.
rpm -q gcc-toolset-12
echo
echo RESULT: PASS

10
tests/tests.yml Normal file
View File

@ -0,0 +1,10 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- gts-smoketest
required_packages:
- scl-utils