update makefile to create a docker-compose project

this allows for running multiple versions of python/es at the same time
on a single host
This commit is contained in:
Nick Lang
2018-11-16 16:28:11 -07:00
parent dfb12a5334
commit 0867a56ce3
+1 -1
View File
@@ -12,7 +12,7 @@ push:
PYTHON_VERSION=${PYTHON_VERSION} docker-compose push client
run_tests:
ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION} PYTHON_VERSION=${PYTHON_VERSION} docker-compose run client python setup.py test
ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION} PYTHON_VERSION=${PYTHON_VERSION} docker-compose -p "${ELASTIC_VERSION}-${PYTHON_VERSION}" run client python setup.py test
start_elasticsearch:
ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION} docker-compose up -d elasticsearch