Skip to content

Commit 0867a56

Browse files
committed
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
1 parent dfb12a5 commit 0867a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ push:
1212
PYTHON_VERSION=${PYTHON_VERSION} docker-compose push client
1313

1414
run_tests:
15-
ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION} PYTHON_VERSION=${PYTHON_VERSION} docker-compose run client python setup.py test
15+
ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION} PYTHON_VERSION=${PYTHON_VERSION} docker-compose -p "${ELASTIC_VERSION}-${PYTHON_VERSION}" run client python setup.py test
1616

1717
start_elasticsearch:
1818
ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION} docker-compose up -d elasticsearch

0 commit comments

Comments
 (0)