Skip to content

dlax/saemref-formula

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://travis-ci.org/logilab/saemref-formula.svg?branch=master

saemref-formula

A saltstack formula handling installation of saem_ref.

Available states

Installs the saemref package from logilab repositories and create an instance.

Manage instance configuration files.

Install and manage supervisor configuration for the saemref installation.

Testing

The script run-test.py can help to develop and test the formula using docker and testinfra.

The command ./run-test.py dev centos6 will build image from test/centos6.Dockerfile and span a shell in a new container with mounted volumes from the host (so you can develop formula on the host and test it in the container with salt-call).

The command ./run-test.py dev centos6 --salt is the same as above but will provision the container (eg. calling salt-call state.highstate)

The command ./run-test.py test centos6 built a provisioned image (highstate) and run testinfra tests on it.

Note that you can add any parameters that testinfra (pytest) accept, for instance ./run-test.py test centos6 -k idempotence --pdb.

About

Salt formula to install cubicweb-saem_ref

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 60.6%
  • SaltStack 33.9%
  • HTML 5.5%