Skip to content

ltrilety/usmqe-setup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USMQE Setup

This repository contains installation and test setup playbooks (along with other ansible code such as roles) for usm qe integration tests (aka usmqe-tests) of Tendrl project.

Overview of the repository structure

We follow ansible best practices here.

Main top level directories:

All *.yml files in the root of the repository are ansible playbooks.

Playbooks

Playbooks starting with qe_ prefix are not meant for direct Tendrl deployment, but for other tasks which QE team needed to automate, eg.:

  • qe_server.yml playbook automates deployment of QE Server machine, where usm qe integration tests are installed and executed/managed from
  • qe_evidence*.yml playbooks automate log/evidence gathering process

Note that playbooks with skyrings in it's name are not supposed to be used for Tendrl setup either. These files are there for a reference how particular deployment/setup task should be done, eg:

  • firewall.skyrings.yml firewall setup for skyrings project
  • services.skyrings.yml service management for skyrings project

To see more details, check readme files of ansible roles used in the playbook.

Requirements

You need to install ansible 2.x (ansible from current Fedora or EPEL).

We also assume that storage or tendrl servers (machines you configure with playbooks stored in this repository) run CentOS 7 distribution.

Code style of YAML files

We use yamllint tool to check syntax and formatting of yaml files in this repository. The rules we enforce (stored in .yamllint file) are based on yamllint configuration of ansible project.

To run the checks, install yamllint (use either Fedora/CentOS yamllint packages or PyPI via pip) and run:

$ yamllint .

This check is also run by usmqe-setup Travis CI job for each pull request.

Documentation

To find more details or to get a whole picture how this repository relates to integartion tests, see usm qe documentation.

License

Distributed under the terms of the Apache License 2.0 license.

About

QE ansible playbooks for initial and test setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published