diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-12 10:43:16 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-12 10:43:16 +0200 |
commit | 50f652abeb217889ff9b9ad852ccb383ef12a195 (patch) | |
tree | b076f641ca890c3b5c6cbb241f1a8c64f1142407 | |
parent | ce237012b417d5fefdb2480846aa8e6aa44ecb7b (diff) |
Slightly tweak the README to track recent changes
-rw-r--r-- | README.rst | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -73,12 +73,11 @@ Testing ------- There is basic test and development 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. +``build/`` and ``ansible/``. It uses Docker and ansible/ -To use it, first set up docker and install Ansible, then run: +To use it, first set up docker and install Ansible, then run:: - $ ansible-playbook -i build/test/inventory build/test/playbook-test.yml + $ ansible-playbook -i ansible/inventory-localhost ansible/playbook-test.yml This will build the relevant docker images, start them and run a very simple tests to see that the front works. It does some hacks to detect PWD @@ -102,6 +101,11 @@ containers, which means you can do your editing outside of the containers. The last part of the test ansible playbook adds a handfull of dummy-switches with 127.0.0.1 as management IP. +The following tags are defined: start, stop, build, test. To stop the +containers, run:: + + $ ansible-playbook -i ansible/inventory-localhost -t stop ansibe/playbook-test.yml + Architecture ------------ |