(mishards): add Makefile

This commit is contained in:
peng.xu 2019-10-31 10:47:46 +08:00
parent 4167cecc9f
commit 2205d0129e

15
shards/Makefile Normal file
View File

@ -0,0 +1,15 @@
build:
docker build --network=host -t milvusdb/mishards .
push:
docker push milvusdb/mishards
pull:
docker pull milvusdb/mishards
deploy:
cd all_in_one && docker-compose -f all_in_one.yml up -d && cd -
clean:
rm -rf cov_html
cd all_in_one && docker-compose -f all_in_one.yml down && cd -
check_style:
pycodestyle --config=.
make test:
pytest --cov-report html:cov_html --cov=mishards