Skip to content

Ansible playbooks for buidling and validating composes of a modular Linux OS.

License

Notifications You must be signed in to change notification settings

alexxa/compose_tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Ansible playbooks for buidling and validating composes of a modular Linux OS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages