validations-libs/validations_libs/tests
matbu d6858a3315 Provide a way to run non-Ansible Validation
This patch allow the user to provide non-ansible Validation
to run on the hosts.
The Python or bash script given by the user are still run with Ansible
to take benefits of the feature offer by Ansible (running tasks via ssh
on remote hosts).

The python or bash script provided via the CLI is dumped into a generic
playbook and run with Ansible via the script builtin module.

the CLI looks like:
validation run --validation py-val.py \
    --validation-dir /home/stack/validations \
    --type python --limit compute --inventory /home/stack/myhost.yaml

Change-Id: I5eb4b62d30aab823de0a361128d0bff767be69aa
2021-06-02 10:29:19 +02:00
..
cli Provide a way to run non-Ansible Validation 2021-06-02 10:29:19 +02:00
__init__.py Add utils functions and validations List object 2020-03-03 16:55:20 +01:00
fakes.py group info test mocks and asserts 2021-04-23 16:49:59 +02:00
test_ansible.py Expanded and increased strictness of the ansible.py tests 2021-04-06 15:42:01 +02:00
test_group.py Ensure we get a sorted list for validation groups 2020-04-08 11:09:04 +02:00
test_utils.py Remove the condition to check the groups. 2021-03-04 17:35:45 +01:00
test_validation_actions.py Provide a way to run non-Ansible Validation 2021-06-02 10:29:19 +02:00
test_validation_log.py Handle unreachable case in the log statistics 2020-11-26 10:43:27 +01:00
test_validation_logs.py Filter get_all_log_file by extension 2020-06-12 09:19:41 +02:00
test_validation.py Enforce the way we encapsulate a Validation 2020-11-13 09:35:50 +01:00