|
22 hours ago | |
---|---|---|
doc | 8 months ago | |
dockerfiles/localvalidations | 3 weeks ago | |
playbooks | 4 months ago | |
validations_libs | 22 hours ago | |
.coveragerc | 2 months ago | |
.dockerignore | 3 weeks ago | |
.gitignore | 2 months ago | |
.gitreview | 11 months ago | |
.pre-commit-config.yaml | 3 months ago | |
.stestr.conf | 2 months ago | |
.zuul.yaml | 2 months ago | |
Dockerfile | 3 weeks ago | |
LICENSE | 1 year ago | |
MANIFEST.in | 1 year ago | |
README.rst | 2 weeks ago | |
Vagrantfile.centos | 4 months ago | |
Vagrantfile.ubuntu | 4 months ago | |
bindep.txt | 5 months ago | |
requirements.txt | 2 months ago | |
setup.cfg | 4 months ago | |
setup.py | 1 year ago | |
test-requirements.txt | 2 months ago | |
tox.ini | 2 months ago |
A collection of python libraries for the Validation Framework
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.
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