Files
opensearch-pyd/Makefile
T
Rushi Agrawal 9e9269c8f3 Rename Elasticsearch -> OpenSearch
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-19 07:58:20 +05:30

19 lines
589 B
Makefile

clean:
docker-compose down --remove-orphans --volumes
build:
PYTHON_VERSION=${PYTHON_VERSION} docker-compose build client
pull:
OPENSEARCH_VERSION=${OPENSEARCH_VERSION} PYTHON_VERSION=${PYTHON_VERSION} docker-compose pull
push:
# requires authentication.
PYTHON_VERSION=${PYTHON_VERSION} docker-compose push client
run_tests:
OPENSEARCH_VERSION=${OPENSEARCH_VERSION} PYTHON_VERSION=${PYTHON_VERSION} docker-compose -p "${OPEN_VERSION}-${PYTHON_VERSION}" run client python setup.py test
start_opensearch:
OPENSEARCH_VERSION=${OPENSEARCH_VERSION} docker-compose up -d opensearch