-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (27 loc) · 882 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
36
37
38
39
40
SHELL := /bin/sh
# setup mlflow
mlflow:
docker compose -f mlflow/docker-compose.yaml up --build -d && ./mlflow/run.sh
shut-mlflow:
docker compose -f mlflow/docker-compose.yaml down
# setup mlops cluster
cluster:
make -C cluster run
echo "cluster are all set..."
shut-cluster:
make -C cluster down
trace:
docker compose -f prometheus/docker-compose.yaml up --build -d
shut-trace:
docker compose -f prometheus/docker-compose.yaml down
# clear the environment
clear-mlflow:
docker compose -f mlflow/docker-compose.yaml down --volumes --remove-orphans
clear-trace:
docker compose -f prometheus/docker-compose.yaml down --volumes --remove-orphans
clear: clear-mlflow clear-trace down
up: cluster trace mlflow
down: shut-cluster shut-trace shut-mlflow
lab:
jupyter lab
.PHONY: cluster shut-cluster mlflow shut-mlflow clear-mlflow trace shut-trace clear-trace clear