Initial gating tests
This commit is contained in:
parent
1e6b70d7c1
commit
9388b296d1
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
7
gating.yaml
Normal file
7
gating.yaml
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}
|
||||
|
17
main.fmf
Normal file
17
main.fmf
Normal file
@ -0,0 +1,17 @@
|
||||
/plan:
|
||||
summary: Basic test suite
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
prepare:
|
||||
- name: install required packages
|
||||
how: install
|
||||
package: [389-ds-base, git, pytest]
|
||||
- name: clone repo
|
||||
how: shell
|
||||
script: git clone https://github.com/389ds/389-ds-base /root/ds
|
||||
/test:
|
||||
/upstream_basic:
|
||||
test: pytest -v /root/ds/dirsrvtests/tests/suites/basic/basic_test.py
|
||||
duration: 30m
|
@ -1,26 +0,0 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
remote_user: root
|
||||
vars:
|
||||
ds_repo_url: https://github.com/389ds/389-ds-base.git
|
||||
ds_repo_dir: ds
|
||||
ds_tests: "{{ ds_repo_dir }}/dirsrvtests/tests"
|
||||
pytest: py.test-3
|
||||
pytest_args: "-v --continue-on-collection-errors"
|
||||
pytest_tests: "suites/basic"
|
||||
artifacts: ./artifacts
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
repositories:
|
||||
- repo: "{{ ds_repo_url }}"
|
||||
dest: "{{ ds_repo_dir }}"
|
||||
tests:
|
||||
- basic:
|
||||
dir: "{{ ds_tests }}"
|
||||
run: "{{ pytest }} {{ pytest_args }} {{ pytest_tests }}"
|
||||
required_packages:
|
||||
- python3-pytest
|
||||
- 389-ds-base
|
||||
- 389-ds-base-snmp
|
Loading…
Reference in New Issue
Block a user