Resolves:RHELMISC-3924 - adding CI tests and gating configuration
This commit is contained in:
parent
33b2615fc7
commit
44a4c7bbb2
6
gating.yaml
Normal file
6
gating.yaml
Normal 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
9
tests/basic/test.sh
Executable 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
1
tests/basic/utf8.txt
Normal file
@ -0,0 +1 @@
|
||||
日本語
|
11
tests/tests.yml
Normal file
11
tests/tests.yml
Normal file
@ -0,0 +1,11 @@
|
||||
- hosts: localhost
|
||||
become: yes
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
required_packages:
|
||||
- uchardet
|
||||
tests:
|
||||
- basic:
|
||||
run: ./test.sh
|
Loading…
Reference in New Issue
Block a user