RETIRED, A collection of python libraries for the Validation Framework
Go to file
Owen McGonagle aa54ac2c6f Add new test for the parse_all_validations_on_disk
Add a new test to raise exeception if you have no groups in your playbook.

Co-authored-by: Daniel Bengtsson <dbengt@redhat.com>
Change-Id: I984304ec22511709370e36f4b4fb6a43100b043c
2021-02-02 11:44:01 -05:00
doc Update openstackdocstheme. 2020-06-23 13:54:26 +02:00
playbooks Remove CI roles from validations-libs 2020-10-21 07:50:29 +00:00
validations_libs Add new test for the parse_all_validations_on_disk 2021-02-02 11:44:01 -05:00
.coveragerc Make the measuring code coverage test working 2020-12-11 10:23:15 +01:00
.gitignore Make the measuring code coverage test working 2020-12-11 10:23:15 +01:00
.gitreview Improve the way we log on the file system 2020-03-11 17:07:56 +01:00
.pre-commit-config.yaml Bump pre-commit-hooks to v3.3.0 2020-11-26 12:42:21 +01:00
.stestr.conf Make the measuring code coverage test working 2020-12-11 10:23:15 +01:00
.zuul.yaml Make the measuring code coverage test working 2020-12-11 10:23:15 +01:00
Dockerfile Dockerfile for installing Validation Framework in a CentOS container 2021-01-07 09:06:56 +00:00
LICENSE Initial commit 2020-02-28 10:42:18 +01:00
MANIFEST.in Adding the foundation files 2020-02-28 14:47:28 +01:00
README.rst Dockerfile for installing Validation Framework in a CentOS container 2021-01-07 09:06:56 +00:00
Vagrantfile.centos add Vagrantfile for Validation Framework dev work 2020-10-21 17:44:05 +00:00
Vagrantfile.ubuntu add Vagrantfile for Validation Framework dev work 2020-10-21 17:44:05 +00:00
bindep.txt Fix lower-constraints errors 2020-09-11 22:04:15 +02:00
requirements.txt Move ansible-runner version to 1.4.0 2020-12-17 10:52:18 +01:00
setup.cfg Remove CI roles from validations-libs 2020-10-21 07:50:29 +00:00
setup.py Adding the foundation files 2020-02-28 14:47:28 +01:00
test-requirements.txt Make the measuring code coverage test working 2020-12-11 10:23:15 +01:00
tox.ini Make the measuring code coverage test working 2020-12-11 10:23:15 +01:00

README.rst

validations-libs

A collection of python libraries for the Validation Framework

Development Environment Setup

Vagrantfiles for CentOS and Ubuntu have been provided for convenience; simply copy one into your desired location and rename to Vagrantfile, then run:

vagrant up

Once complete you will have a clean development environment ready to go for working with Validation Framework.

Docker Quickstart

A Dockerfile is provided at the root of the Validations Library project in order to quickly set and hack the Validation Framework. Build the container from the Dockerfile by running:

docker build -t "vf:dockerfile" .

Once the build is finished you can check the image id:

docker images

Then you can run the container and start to run some builtin Validations:

docker run -ti <image_id> /bin/bash

Then run validations:

validation.py run --validation check-ftype,512e