-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
83 lines (62 loc) · 2.22 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.DEFAULT_GOAL=help
.PHONY: help
help:
@echo 'Usage: make ENVIRONMENT=[dev|test|...] <target>'
@echo 'targets:'
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: buildadservice
buildadservice: ## builds adservice
./scripts/dockerbuild.sh adservice
.PHONY: buildawsconsul
buildawsconsul: ## builds adservice
./scripts/dockerbuild.sh awsconsul
.PHONY: buildcartservice
buildcartservice: ## builds cartservice
./scripts/dockerbuild.sh cartservice
.PHONY: buildcheckoutservice
buildcheckoutservice: ## builds checkoutservice
./scripts/dockerbuild.sh checkoutservice
.PHONY: buildconsul
buildconsul: ## builds consul
./scripts/dockerbuild.sh consul
.PHONY: buildcurrencyservice
buildcurrencyservice: ## builds currencyservice
./scripts/dockerbuild.sh currencyservice
.PHONY: buildemailservice
buildemailservice: ## builds emailservice
./scripts/dockerbuild.sh emailservice
.PHONY: buildfluentbit
buildfluentbit: ## builds fluentbit
./scripts/dockerbuild.sh fluentbit
.PHONY: buildfrontend
buildfrontend: ## builds frontend
./scripts/dockerbuild.sh frontend
.PHONY: buildpaymentservice
buildpaymentservice: ## builds paymentservice
./scripts/dockerbuild.sh paymentservice
.PHONY: buildproductcatalogservice
buildproductcatalogservice: ## builds productcatalogservice
./scripts/dockerbuild.sh productcatalogservice
.PHONY: buildrecommendationservice
buildrecommendationservice: ## builds recommendationservice
./scripts/dockerbuild.sh recommendationservice
.PHONY: buildshippingservice
buildshippingservice: ## builds shippingservice
./scripts/dockerbuild.sh shippingservice
.PHONY: buildprometheus
buildprometheus: ## builds shippingservice
./scripts/dockerbuild.sh prometheus
.PHONY: buildall
buildall: buildadservice buildawsconsul buildcartservice buildcheckoutservice buildconsul
buildall: buildcurrencyservice buildemailservice buildfrontend buildpaymentservice buildproductcatalogservice
buildall: buildrecommendationservice buildshippingservice buildfluentbit
.PHONY: cleanamis
cleanamis:
./scripts/deleteamis.sh
.PHONY: deploy
deploy:
./scripts/deploy.sh
./scripts/deployoutput.sh
.PHONY: destroy
destroy:
./scripts/destroy.sh