diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-04-13 21:17:28 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-04-13 21:17:28 +0200 |
commit | a09b4d33818f1b3fd3836a99cbb742fa84caecb4 (patch) | |
tree | 336fbdff24655ff4079d1971b347935aa3714766 /README.rst | |
parent | e8a20f730651d07deff33dc559acfdca32cce271 (diff) |
Working test! It's amazing!
Never been so happy to see a single switch in the nms.
Missing: Varnish and collectors and better deplist.
Also: this is mainly _test_ stuff, not meant for development OR production.
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -50,6 +50,31 @@ This is NOT complete and thoroughly lacking. 6. Start the clients in ``clients/``. 7. Read the first line in this chapter. +Testing +------- + +There is basic test infrastructure set up in ``build/test``. It uses Docker and +ansible against the host in ``build/test/inventory`` which happens to be +localhost by default. + +To use it, first set up ssh to localhost (or change host in inventory) and +install docker, then run:: + + $ cd build/ + $ ansible-playbook -i test/inventory test/playbook-test.yml + +This will build the relevant docker images and start them. It assumes a +check out on the target machine (e.g.: localhost) on ``~/src/tgnms``. It +does not use sudo or make any attempt to configure the local host beyond +docker building. + +PS: This is currently NOT complete, but will eventually run actual test +cases and possibly provide a development environment. It is very likely to +"move" to the top level, mainly to avoid having to check out the git repo, +which creates cache issues with docker. + +It currently DOES work to actual set up a working NMS, save collectors. + Architecture ------------ |