Ansible playbooks for validating composes of a modular Linux OS.
deploy.yaml
: Main Ansible playbook to install and run docker services, pull a docker image of a modular Linux OS, run a container and run a set of tests inside that docker container.tests/
: Test suite (test cases) to verify the functionality of a compose. Mindtests/quick_mini_test.yaml
. This playbook tests only a few selected modules.
- Fedora or RHEL OS.
- Ansible version 2.4. and higher.
- Clone this repo
- Navigate there
- As a sudo user run:
ansible-playbook deploy.yaml --extra-vars "compose=LINK/TO/TESTED/COMPOSE"
Mind the mandatory extra variable compose
It can be a name of the container, e.g:
ansible-playbook deploy.yaml --extra-vars "compose=registry.fedoraproject.org/f26-modular/boltron"
All failed tasks and tests will be highlighted in red. Please mind Ansible bug that a failed counter in Play Recap is not updated correctly. When fixed, the total number of failed tests will be displayed accordingly.
If you find a bug or want new features and tests to be added, please report it!