Convert STI tests to FMF
Resolves: RHEL-64018
This commit is contained in:
parent
460325fcf1
commit
434125f999
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
21
plans/gating.fmf
Normal file
21
plans/gating.fmf
Normal file
@ -0,0 +1,21 @@
|
||||
summary: Regression test plan for python-ldap
|
||||
|
||||
discover:
|
||||
- name: Internal python-ldap gating tests
|
||||
how: fmf
|
||||
url: https://pkgs.devel.redhat.com/git/tests/python-ldap
|
||||
ref: master
|
||||
filter: 'tag: Tier1'
|
||||
|
||||
prepare:
|
||||
- name: Enable beaker-tasks
|
||||
how: shell
|
||||
script:
|
||||
- dnf config-manager --enable beaker-tasks
|
||||
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
adjust:
|
||||
enabled: false
|
||||
when: distro == centos-stream or distro == fedora
|
@ -1,28 +0,0 @@
|
||||
---
|
||||
# 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