milvus/shards/Makefile

20 lines
457 B
Makefile
Raw Normal View History

2019-10-31 02:47:46 +00:00
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 -
2019-10-31 03:09:40 +00:00
clean_deploy:
2019-10-31 02:47:46 +00:00
cd all_in_one && docker-compose -f all_in_one.yml down && cd -
2019-10-31 03:09:40 +00:00
clean_coverage:
rm -rf cov_html
clean: clean_coverage clean_deploy
style:
2019-10-31 02:47:46 +00:00
pycodestyle --config=.
2019-10-31 03:09:40 +00:00
coverage:
2019-10-31 02:47:46 +00:00
pytest --cov-report html:cov_html --cov=mishards
2019-10-31 03:09:40 +00:00
test:
pytest