-
Notifications
You must be signed in to change notification settings - Fork 674
/
Makefile
53 lines (41 loc) · 1.31 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
export REPOSITORY=flyte
define PIP_COMPILE
pip-compile $(1) --upgrade --verbose
endef
.PHONY: update_boilerplate
update_boilerplate:
@boilerplate/update.sh
.PHONY: kustomize
kustomize:
KUSTOMIZE_VERSION=3.9.2 bash script/generate_kustomize.sh
.PHONY: release_automation
release_automation:
bash script/release.sh
.PHONY: deploy_sandbox
deploy_sandbox:
bash script/deploy.sh
# launch dockernetes and execute tests
.PHONY: end2end
end2end:
@end2end/launch_dockernetes.sh
# execute tests in the current kubernetes context
.PHONY: end2end_execute
end2end_execute:
@end2end/execute.sh
.PHONY: install-piptools
install-piptools:
pip install -U pip-tools
.PHONY: doc-requirements.txt
doc-requirements.txt: doc-requirements.in install-piptools
$(call PIP_COMPILE,doc-requirements.in)
.PHONY: requirements.txt
requirements.txt: requirements.in install-piptools
$(call PIP_COMPILE,requirements.in)
.PHONY: stats
stats:
@generate-dashboard -o deployment/stats/prometheus/flytepropeller-dashboard.json stats/flytepropeller_dashboard.py
@generate-dashboard -o deployment/stats/prometheus/flyteadmin-dashboard.json stats/flyteadmin_dashboard.py
@generate-dashboard -o deployment/stats/prometheus/flyteuser-dashboard.json stats/flyteuser_dashboard.py
.PHONY: prepare_artifacts
prepare_artifacts:
bash script/prepare_artifacts.sh