-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
35 lines (27 loc) · 865 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.PHONY: help
help: ## show help message
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n \033[36m\033[0m\n"} /^[$$()% a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
.PHONY: install
install: ## install dependencies locally
scripts/install.sh
.PHONY: run
run: ## run locally
scripts/run.sh
.PHONY: test
test: ## run tests locally
scripts/run_tests.sh
.PHONY: download
download: ## download model artifacts
pipenv run python scripts/download.py
.PHONY: docker
docker: ## build docker file
scripts/build_docker.sh
.PHONY: k8s
k8s: ## install helm chart on kubernetes
scripts/install_helm_chart.sh
.PHONY: tf_apply
tf_apply: ## deploy with terraform
scripts/tf_apply.sh
.PHONY: tf_destroy
tf_destroy: ## tear down terraform deployment
scripts/tf_destroy.sh