Commit Graph

14 Commits (master)

Author SHA1 Message Date
Jiri Podivin 9163d8bcbc Moving callbacks to validations-libs
Callback plugins were transferred from validations-common
repository to validations-libs.

Necessary adjustments were made to the module structure,
requierements, as well as installation and documentation generator config.

Associated tests were moved as well, with removal of superfluous inheritance
and imports included.

Demonstration http server module for communication with `http_json`
callback was moved with directory structure preserved.

Signed-off-by: Jiri Podivin <>
Change-Id: I31768375430a2f29da71aae8f3db3882c373ced5
2022-03-10 08:59:40 +00:00
Jiri Podivin db65bae246 Filling license info for Ansible and Pyflakes
License information for the Ansible and Pyflakes
was filled in using information obtained from their
repective code repositories.

Signed-off-by: Jiri Podivin <>
Change-Id: If5f5438926d5da9a2a773f9541ba217e73e6b754
2021-06-15 11:56:54 +02:00
Gael Chamoulaud (Strider) 5d55cfde1d
Make the measuring code coverage test working
Change-Id: I9e28b3b08685ea7a7ae1ed73888d8160728f5ded
Signed-off-by: Gael Chamoulaud (Strider) <>
2020-12-11 10:23:15 +01:00
Mathieu Bultel 4a660ec926 Fix lower-constraints errors
This patch changes the lower-constraint requirements to make them
py3.8 compatible. See

Change-Id: I7e3ab852421c6c9bf7c60ac7f9169939c10e7431
2020-09-11 22:04:15 +02:00
Andreas Jaeger 5804a0f1e4 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also

Change-Id: I95a09d6ce195af3d483e170976f54353332bb190
2020-05-28 14:44:40 +02:00
Gael Chamoulaud (Strider) 7b14f9c22d Add API Documentation structure
Change-Id: Ie99c6118dff88b2b8e614f732391793b54bb91f0
Signed-off-by: Gael Chamoulaud (Strider) <>
2020-05-14 11:53:31 +00:00
Gael Chamoulaud (Strider) 3cc5263983
Move unit tests execution to stestr
From time to time, unit tests execution fails with error: "TypeError:
'NoneType' object is not iterable". It seems that problem is in
unittest2 library, which is used by testtools for executing the tests.
Stestr lib is usinig unittest by default and the problem does not appear
for several hundred launches.

Authored-By: danpawlik <>

Change-Id: I6646629128d9265b5fb7390dc131c55cf34a07ca
Signed-off-by: Gael Chamoulaud (Strider) <>
2020-04-28 09:17:48 +02:00
Andreas Jaeger 156e9e523d Update to hacking 3.0
Hacking 3.0 was just released with minor changes, update to the new

Change-Id: Id426df4214278c7a09497b13bfa3b6de56ccebb8
2020-03-30 17:56:09 +02:00
Andreas Jaeger 68836f7563 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.

Change-Id: I7b5a8fe0f25fbd6022ac8ce1bc90f2d9f5be64c1
2020-03-28 12:33:19 +01:00
Gael Chamoulaud (Strider) f2051ee279
Remove mock as a test requirement and add PyYAML as requirement.
Now that we have moved to py36 and later runtimes, we no longer
need to use the third party mock library and can only use the standard
library unittest.mock instead.

Change-Id: I97219a6b3ca2cff88b8871458466825e79736f77
Signed-off-by: Gael Chamoulaud (Strider) <>
2020-03-17 10:10:45 +01:00
Gael Chamoulaud (Strider) 84aa2b6846
Improve the way we log on the file system
Improve the way we log on the file system and share
the same uuid for callback logging and ansible
runner and artifact logging

This patch also adds zuul.d directory:
* Adds zuul.d/layout.yaml
* Adds .gitreview file
* Fixes ansible-runner requirements issue

Co-Authored-By: Gael Chamoulaud <>
Change-Id: I4da8c1974362029754aa5b09cd8e6c7d6a27dd0d
Signed-off-by: Gael Chamoulaud (Strider) <>
2020-03-11 17:07:56 +01:00
Mathieu Bultel 32d15b6a1b Add unit tests for ansible runner library 2020-03-09 14:21:03 +01:00
Gael Chamoulaud (Strider) c30530a430
Add missing stuffs for pytesting with tox
Signed-off-by: Gael Chamoulaud (Strider) <>
2020-03-03 10:45:41 +01:00
Gael Chamoulaud (Strider) 76d6a95bb5
Adding the foundation files
* tox linters tests
* Adds requirements files
* Adds bindep.txt
* Adds gitignore file
* Adds pre-commit configuration file

Signed-off-by: Gael Chamoulaud (Strider) <>
2020-02-28 14:47:28 +01:00