RETIRED, A collection of python libraries for the Validation Framework
Go to file
Gael Chamoulaud (Strider) 57a346c8c1
Bump pre-commit repositories
This patch bumps the following tools:
- pre-commit-hooks[1] to v3.4.0
- yamllint[2] to v5.0.8

And adds pycqa/flake8:
- flake8[3] to 3.9.1

[1] - https://github.com/pre-commit/pre-commit-hooks
[2] - https://github.com/adrienverge/yamllint
[3] - https://gitlab.com/pycqa/flake8

Change-Id: I45c4181309de69613dac6adee70dc875774cc309
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
2021-05-05 15:56:39 +02:00
doc PDF docs are now available 2021-04-20 13:35:51 +02:00
dockerfiles/localvalidations Docker image refinement and preparation for future development. 2021-02-12 12:48:00 +01:00
playbooks Remove CI roles from validations-libs 2020-10-21 07:50:29 +00:00
releasenotes Moving doc structure closer to that in validations-commons. 2021-02-25 13:11:34 +01:00
validations_libs Merge "Raise exception if result is empty" 2021-04-27 16:51:13 +00:00
.coveragerc Make the measuring code coverage test working 2020-12-11 10:23:15 +01:00
.dockerignore Docker image refinement and preparation for future development. 2021-02-12 12:48:00 +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 repositories 2021-05-05 15:56:39 +02:00
.stestr.conf Make the measuring code coverage test working 2020-12-11 10:23:15 +01:00
.zuul.yaml Version bumps for rhel9 transition 2021-04-27 15:40:04 +02:00
bindep.txt Fix lower-constraints errors 2020-09-11 22:04:15 +02:00
CONTRIBUTING.rst Moving doc structure closer to that in validations-commons. 2021-02-25 13:11:34 +01:00
Dockerfile Docker image refinement and preparation for future development. 2021-02-12 12:48:00 +01: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 Moving doc structure closer to that in validations-commons. 2021-02-25 13:11:34 +01:00
requirements.txt Create dedicated CLI for the Validation Framework 2021-04-20 11:52:35 +02:00
setup.cfg Version bumps for rhel9 transition 2021-04-27 15:40:04 +02: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 Version bumps for rhel9 transition 2021-04-27 15:40:04 +02: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

validations-libs

image

A collection of python libraries for the Validation Framework

The validations will help detect issues early in the deployment process and prevent field engineers from wasting time on misconfiguration or hardware issues in their environments.

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