5 Commits

Author SHA1 Message Date
Gael Chamoulaud (Strider)
f2e37b0f27 Make Python Interpreter option for Ansible Validation Run
This patch adds the --python-interpreter argument to the run
subcommand and allows the user to specify their own python interpreter.

Change-Id: Ie76d0238f117a48b2f919cd5bdc4dfae8b47ac5e
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
2021-05-20 04:39:33 +00:00
Gael Chamoulaud (Strider)
3e29d44743
Disable quiet mode run when using an Ansible Custom Callback
This patch disables the Ansible execution quiet mode when running
validations with a different Callback by passing --extra-env-vars
ANSIBLE_STDOUT_CALLBACK=default in the command line.

Change-Id: Ied50aaea240943b1eeba0c3c35b74bc7ccdb454c
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
2021-05-11 10:49:56 +02:00
Luigi Toscano
efca0653aa Add support for JUnitXML output (optional)
The support rely on junit_xml, which is also used by the junit
ansible callback plugin.

Change-Id: Ie484445e1b8602780c0faaeaf991b2de27032f3b
2021-05-05 11:03:26 +02:00
matbu
6329e3b63a Raise exception if result is empty
If results is empty in cli/run.py then we should raise
a RuntimeError otherwise, it will returns 0 without any
information.

Change-Id: Ic38690bd719658fe02a30691d112f3429523802a
2021-04-23 13:50:00 +00:00
matbu
5fad1a4d18 Create dedicated CLI for the Validation Framework
This review adds a CLI for the Validation Framework which will become
the only entry point to run the Validation Framework.

It will deprecate the tripleo_validatior.py CLI and the
validation.py script.

This patch uses python cliff library to provide nice helpers, shell
and output formats.

Change-Id: I66800ad51cc50f4eb37efabe85fb553dce008101
2021-04-20 11:52:35 +02:00