Support a dockerized analyticstack
This PR is part of the dockerization of the analyticstack, most of the documentation can be found here: https://github.com/edx/configuration/pull/3582
It implements the following changes:
- Add a docker.cfg config file that contains all of the settings needed to run in a docker-compose environment.
- Add Makefile targets specified by OEP-5 that allow a standard interface for managing the containers.
- Support running acceptance tests with "launch-task" instead of "remote-task". This allows us to run the acceptance tests from the container without SSH-ing into itself and re-deploying the pipeline when executing every test. Eventually this could be used to run the acceptance tests in Travis or another third-party CI system that supports docker-compose based test execution.
- A bunch of detail in the README.md describing how to set it all up.
FYI: @HassanJaveed84
TODO:
- [x] Implement the OEP-5 standard Makefile targets
- [x] Clean up the formatting of README.md
- [ ] Implement the part of OEP-5 that specifies how containers are built
Current coverage is 73.79% (diff: 100%)
@@ master #337 diff @@
==========================================
Files 191 92 -99
Lines 19676 10236 -9440
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
- Hits 15691 7554 -8137
+ Misses 3985 2682 -1303
Partials 0 0
Powered by Codecov. Last update 33eec79...6524be2
I'm sure you've seen this, but it looks like we need to open up those luigid images, or add them if they're actually just missing.
@tobz yeah none of the images have been pushed up to docker hub yet... so the docker-compose stuff won't yet work in Travis. I was mostly just sketching out how it could work.
A ha! Gotcha. :)