0867a56ce3
this allows for running multiple versions of python/es at the same time on a single host
19 lines
616 B
Makefile
19 lines
616 B
Makefile
clean:
|
|
docker-compose down --remove-orphans --volumes
|
|
|
|
build:
|
|
PYTHON_VERSION=${PYTHON_VERSION} docker-compose build client
|
|
|
|
pull:
|
|
ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION} PYTHON_VERSION=${PYTHON_VERSION} docker-compose pull
|
|
|
|
push:
|
|
# requires authentication.
|
|
PYTHON_VERSION=${PYTHON_VERSION} docker-compose push client
|
|
|
|
run_tests:
|
|
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
|