Add gating.yaml and unittest for python-gssapi

Signed-off-by: Francisco Trivino <ftrivino@redhat.com>
This commit is contained in:
Francisco Trivino 2024-07-03 17:38:00 +02:00
parent 0780e196a2
commit 343eaaa3bd
3 changed files with 43 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}

12
tests/driver/runtest.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash -ex
# Fake a build
rm -rf gssapi
cp -r /usr/lib64/python3.12/site-packages/gssapi gssapi
cd gssapi
# Do something awful
pip3 install pynose parameterized shouldbe k5test
# And run the tests
exec python3 -c 'import nose; exit(nose.main())'

25
tests/tests.yml Normal file
View File

@ -0,0 +1,25 @@
---
- hosts: localhost
tags: classic
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
required_packages:
- git
- role: standard-test-basic
tags:
- atomic
- classic
required_packages:
- krb5-server
- krb5-workstation
- krb5-devel
- python3-gssapi
- python3-devel
- rpm-build
- gcc
tests:
- driver