-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile
39 lines (33 loc) · 1.2 KB
/
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
KUBEFLOW ?= <hydrosphere>
EXPERIMENT ?= MNIST
REGISTRY ?= hydrosphere
TAG ?= v3
CONFIGMAP ?= mnist-workflow
all: origin
origin: compile-origin submit-origin clean
subsample: compile-subsample submit-subsample clean
compile-origin:
python3 workflows/origin.py -t $(TAG) -r $(REGISTRY) -c $(CONFIGMAP)
submit-origin:
python3 utils/kubeflow.py -f origin.tar.gz -e "$(EXPERIMENT)" -k $(KUBEFLOW)
compile-subsample:
python3 workflows/subsample.py -t $(TAG) -r $(REGISTRY) -c $(CONFIGMAP)
submit-subsample:
python3 utils/kubeflow.py -f subsample.tar.gz -e "$(EXPERIMENT)" -k $(KUBEFLOW)
release-all-steps:
@for path in download train-drift-detector train-model release-drift-detector release-model deploy output test; do \
cd steps/$$path && make release; \
cd ../../; \
done
release-all-steps-raw:
@for path in download train-drift-detector train-model release-drift-detector release-model deploy output test; do \
cd steps/$$path && make release-raw; \
cd ../../; \
done
clean-steps:
@for path in download train-drift-detector train-model release-drift-detector release-model deploy output test; do \
cd steps/$$path && make clean; \
cd ../../; \
done
clean:
rm -rf origin.tar.gz subsample.tar.gz