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
Shane McDonald 6f39995060 Fix docker-compose error
Fixes this error:

```
ERROR: yaml.parser.ParserError: while parsing a block mapping
  in "./tools/docker-compose/unit-tests/docker-compose.yml", line 10, column 7
expected <block end>, but found '<scalar>'
  in "./tools/docker-compose/unit-tests/docker-compose.yml", line 11, column 40
```
2016-11-10 13:38:15 -05:00
..
docker-compose.yml Fix docker-compose error 2016-11-10 13:38:15 -05:00
Dockerfile Add fontconfig testjs dependency 2016-11-08 10:18:53 -05:00
entrypoint Get unit-test container working 2016-11-02 19:30:37 -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.