Resolves:RHELMISC-3924 - adding CI tests and gating configuration

This commit is contained in:
Pooja Yadav 2024-06-19 14:20:23 +05:30 committed by tagoh1
parent 33b2615fc7
commit 44a4c7bbb2
4 changed files with 27 additions and 0 deletions

6
gating.yaml Normal file
View File

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

9
tests/basic/test.sh Executable file
View File

@ -0,0 +1,9 @@
#! /bin/sh
CWD=`dirname $0`
if test x`uchardet $CWD/../tests.yml` != 'xASCII'; then
exit 1
fi
if test x`uchardet $CWD/utf8.txt` != 'xUTF-8'; then
exit 1
fi

1
tests/basic/utf8.txt Normal file
View File

@ -0,0 +1 @@
日本語

11
tests/tests.yml Normal file
View File

@ -0,0 +1,11 @@
- hosts: localhost
become: yes
tags:
- classic
roles:
- role: standard-test-basic
required_packages:
- uchardet
tests:
- basic:
run: ./test.sh