mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 17:50:27 +00:00
docs(readme): update Testing
section for inspec
This commit is contained in:
parent
7b7aadc472
commit
4cfde8d6e9
1 changed files with 10 additions and 6 deletions
16
README.rst
16
README.rst
|
@ -120,28 +120,32 @@ Remove development and python packages.
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
=======
|
=======
|
||||||
The ``postgres`` state was tested on MacOS (El Capitan 10.11.6), and ``remove`` states on Ubuntu, Centos, and Fedora.
|
|
||||||
|
|
||||||
Linux testing is done with the ``kitchen-salt``.
|
Linux testing is done with ``kitchen-salt``.
|
||||||
|
|
||||||
``kitchen converge``
|
``kitchen converge``
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
Runs the ``postgres`` main state.
|
Creates the docker instance and runs the ``postgres`` main state, ready for testing.
|
||||||
|
|
||||||
``kitchen verify``
|
``kitchen verify``
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
Runs ``serverspec`` tests on the actual instance.
|
Runs the ``inspec`` tests on the actual instance.
|
||||||
|
|
||||||
|
``kitchen destroy``
|
||||||
|
----------------
|
||||||
|
|
||||||
|
Removes the docker instance.
|
||||||
|
|
||||||
``kitchen test``
|
``kitchen test``
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
Builds and runs tests from scratch.
|
Runs all of the stages above in one go: i.e. ``destroy`` + ``converge`` + ``verify`` + ``destroy``.
|
||||||
|
|
||||||
``kitchen login``
|
``kitchen login``
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
Gives you ssh to the vagrant machine for manual testing.
|
Gives you SSH access to the instance for manual testing.
|
||||||
|
|
||||||
.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=2 sw=2 et
|
.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=2 sw=2 et
|
||||||
|
|
Loading…
Add table
Reference in a new issue