-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (35 loc) · 1.17 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
USER_NAME=4babushkin
export USER_NAME
build: post comment ui prometheus mondodb_exporter cloudprober alertmanager fluentd
push: push_comment push_post push_ui push_prometheus push_mondodb_exporter push_cloudprober push_alertmanager
hw23: post comment ui fluentd
post:
cd src/post-py && bash docker_build.sh
comment:
cd src/comment && bash docker_build.sh
ui:
cd src/ui && bash docker_build.sh
prometheus:
cd monitoring/prometheus && docker build -t ${USER_NAME}/prometheus .
mondodb_exporter:
cd monitoring/mondodb_exporter && docker build -t ${USER_NAME}/mondodb_exporter .
cloudprober:
cd monitoring/cloudprober && docker build -t ${USER_NAME}/cloudprober .
alertmanager:
cd monitoring/alertmanager && docker build -t ${USER_NAME}/alertmanager .
fluentd:
cd logging/fluentd && docker build -t ${USER_NAME}/fluentd .
push_post:
docker push ${USER_NAME}/post
push_comment:
docker push ${USER_NAME}/comment
push_ui:
docker push ${USER_NAME}/ui
push_prometheus:
docker push ${USER_NAME}/prometheus
push_mondodb_exporter:
docker push ${USER_NAME}/mondodb_exporter
push_cloudprober:
docker push ${USER_NAME}/cloudprober
push_alertmanager:
docker push ${USER_NAME}/alertmanager