Add gating for RHEL 10
Resolves: RHEL-61809
This commit is contained in:
parent
afe0e4d8f6
commit
18b08c5ab5
7
gating.yml
Normal file
7
gating.yml
Normal file
@ -0,0 +1,7 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
|
28
tests/tests.yml
Normal file
28
tests/tests.yml
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
# Run python-ldap's unit test suite as gating tests.
|
||||
#
|
||||
# Note: Requires openldap-server from copr repo.
|
||||
#
|
||||
# 1minutetip rhel10
|
||||
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
pre_tasks:
|
||||
- name: Download copr repo for openldap-servers
|
||||
ansible.builtin.get_url:
|
||||
url: https://copr.fedorainfracloud.org/coprs/g/389ds/cs10-openldap-servers/repo/centos-stream-10/group_389ds-cs10-openldap-servers-centos-stream-10.repo
|
||||
dest: /etc/yum.repos.d/openldap-servers.repo
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
- role: standard-test-basic
|
||||
required_packages:
|
||||
- python3-ldap
|
||||
- openldap-servers
|
||||
- openldap-clients
|
||||
tests:
|
||||
- unittests:
|
||||
dir: "source"
|
||||
run: >-
|
||||
python3 -m unittest discover -s Tests -p 't_*.py' -v
|
||||
|
Loading…
Reference in New Issue
Block a user