A collection of python libraries for the Validation Framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Zuul 125bbf01c7 Merge "Refactor the groups property in Validation class." 22 hours ago
doc Update openstackdocstheme. 8 months ago
dockerfiles/localvalidations Docker image refinement and preparation for future development. 3 weeks ago
playbooks Remove CI roles from validations-libs 4 months ago
validations_libs Merge "Refactor the groups property in Validation class." 22 hours ago
.coveragerc Make the measuring code coverage test working 2 months ago
.dockerignore Docker image refinement and preparation for future development. 3 weeks ago
.gitignore Make the measuring code coverage test working 2 months ago
.gitreview Improve the way we log on the file system 11 months ago
.pre-commit-config.yaml Bump pre-commit-hooks to v3.3.0 3 months ago
.stestr.conf Make the measuring code coverage test working 2 months ago
.zuul.yaml Make the measuring code coverage test working 2 months ago
Dockerfile Docker image refinement and preparation for future development. 3 weeks ago
LICENSE Initial commit 1 year ago
MANIFEST.in Adding the foundation files 1 year ago
README.rst Modifies README.rst to reference podman. 2 weeks ago
Vagrantfile.centos add Vagrantfile for Validation Framework dev work 4 months ago
Vagrantfile.ubuntu add Vagrantfile for Validation Framework dev work 4 months ago
bindep.txt Fix lower-constraints errors 5 months ago
requirements.txt Move ansible-runner version to 1.4.0 2 months ago
setup.cfg Remove CI roles from validations-libs 4 months ago
setup.py Adding the foundation files 1 year ago
test-requirements.txt Make the measuring code coverage test working 2 months ago
tox.ini Make the measuring code coverage test working 2 months ago

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.

podman Quickstart

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

podman build -t "vf:dockerfile" .

From the validations-libs repo directory.

Note

More complex images are available in the dockerfiles directory and require explicit specification of both build context and the Dockerfile.

Since the podman build uses code sourced from the buildah project to build container images. It is also possible to build an image using:

buildah bud -t "vf:dockerfile" .

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

podman run -ti vf:dockerfile /bin/bash

Then run validations:

validation.py run --validation check-ftype,512e --inventory /etc/ansible/hosts