Add gating definition for RHEL 9
Related: rhbz#1947473 Signed-off-by: Kaleemullah Siddiqui <ksiddiqu@redhat.com>
This commit is contained in:
parent
128b758ce0
commit
964c7f70c2
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
# recipients: abokovoy, frenaud, kaleem, ftrivino, cheimes
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
31
tests/tests.yml
Normal file
31
tests/tests.yml
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
# Run python-ldap's unit test suite as gating tests.
|
||||
#
|
||||
# Note: Requires openldap-server from RHEL build root.
|
||||
#
|
||||
# 1minutetip --buildroot rhel9
|
||||
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
pre_tasks:
|
||||
- name: Enable rhel-buildroot-latest for openldap-servers on 1minutetip
|
||||
ini_file:
|
||||
path: /etc/yum.repos.d/rhel-latest.repo
|
||||
section: rhel-buildroot-latest
|
||||
option: enabled
|
||||
value: "1"
|
||||
create: no
|
||||
ignore_errors: yes
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
- role: standard-test-basic
|
||||
required_packages:
|
||||
- python3-ldap
|
||||
- openldap-servers
|
||||
- openldap-clients
|
||||
tests:
|
||||
- unittests:
|
||||
dir: "source/python3"
|
||||
run: >-
|
||||
python3 -m unittest discover -s Tests -p 't_*.py' -v
|
Loading…
Reference in New Issue
Block a user