Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.39 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.39 KB

compose_tester

Ansible playbooks for validating composes of a modular Linux OS.

Contents

  • 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. Mind tests/quick_mini_test.yaml. This playbook tests only a few selected modules.

Requirements

  • Fedora or RHEL OS.
  • Ansible version 2.4. and higher.

Usage

  • 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!