1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00
awx/tools/docker-compose/unit-tests
Matthew Jones 959342a5fd Fixing up unit tests from HA/Clustering work
* Also purge old fact migration tests
* Upgrade some services on various container images
2016-10-03 10:40:30 -04:00
..
docker-compose.yml Move requirements build to unittest Dockerfile 2016-09-21 15:27:44 -04:00
Dockerfile Fixing up unit tests from HA/Clustering work 2016-10-03 10:40:30 -04:00
README.md Add instructions to rebuild unit test container 2016-09-20 09:56:19 -04:00

Run from the root of the repo:

$ docker-compose -f tools/docker-compose/unit-tests/docker-compose.yml run unit-tests

This will start the container, install the dependencies, and run the unit tests.

To rebuild:

$ docker-compose -f tools/docker-compose/unit-tests/docker-compose.yml build

If you just want to pop into a shell and poke around, run:

$ docker-compose -f tools/docker-compose/unit-tests/docker-compose.yml run unit-tests bash

If you run into any weirdness, it's probably a good idea to just give up and make clean.