-
Notifications
You must be signed in to change notification settings - Fork 34
/
Makefile
150 lines (111 loc) · 4.92 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
init-venv:
python3 -m venv .venv; \
. .venv/bin/activate; \
pip install -r requirements.txt; \
ansible-galaxy collection install community.general==8.3.0
lint:
. .venv/bin/activate; \
yamllint roles playbooks; \
ansible-lint roles/ playbooks/
molecule-converge-single:
. .venv/bin/activate; \
cd roles/single && molecule converge -s docker
molecule-converge-vmagent:
. .venv/bin/activate; \
cd roles/vmagent && molecule converge -s docker
molecule-converge-vmalert:
. .venv/bin/activate; \
cd roles/vmalert && molecule converge -s docker
molecule-converge-vminsert:
. .venv/bin/activate; \
cd roles/vminsert && molecule converge
molecule-converge-vmstorage:
. .venv/bin/activate; \
cd roles/vmstorage && molecule converge
molecule-converge-vmselect:
. .venv/bin/activate; \
cd roles/vmselect && molecule converge
molecule-converge-vmauth:
. .venv/bin/activate; \
cd roles/vmauth && molecule converge
molecule-converge-single-enterprise:
. .venv/bin/activate; \
cd roles/single && molecule converge -s docker-enterprise
molecule-converge-vmagent-enterprise:
. .venv/bin/activate; \
cd roles/vmagent && molecule converge -s docker-enterprise
molecule-converge-vmalert-enterprise:
. .venv/bin/activate; \
cd roles/vmalert && molecule converge -s docker-enterprise
molecule-converge-vminsert-enterprise:
. .venv/bin/activate; \
cd roles/vminsert && molecule converge -s enterprise
molecule-converge-vmstorage-enterprise:
. .venv/bin/activate; \
cd roles/vmstorage && molecule converge -s enterprise
molecule-converge-vmselect-enterprise:
. .venv/bin/activate; \
cd roles/vmselect && molecule converge -s enterprise
molecule-converge-vmauth-enterprise:
. .venv/bin/activate; \
cd roles/vmauth && molecule converge -s enterprise
molecule-converge-cluster-integration:
. .venv/bin/activate; \
cd playbooks/ && molecule converge -s cluster
molecule-converge-cluster-integration-enterprise:
. .venv/bin/activate; \
cd playbooks/ && molecule converge -s cluster-enterprise
molecule-converge: molecule-converge-single molecule-converge-vmagent molecule-converge-vmalert molecule-converge-vminsert molecule-converge-vmstorage molecule-converge-vmselect molecule-converge-vmauth
molecule-converge-enterprise: molecule-converge-single-enterprise molecule-converge-vmagent-enterprise molecule-converge-vmalert-enterprise molecule-converge-vminsert-enterprise molecule-converge-vmstorage-enterprise molecule-converge-vmselect-enterprise molecule-converge-vmauth-enterprise
molecule-converge-integration: molecule-converge-cluster-integration molecule-converge-cluster-integration-enterprise
molecule-destroy-single:
. .venv/bin/activate; \
cd roles/single && molecule destroy -s docker
molecule-destroy-vmagent:
. .venv/bin/activate; \
cd roles/vmagent && molecule destroy -s docker
molecule-destroy-vmalert:
. .venv/bin/activate; \
cd roles/vmalert && molecule destroy -s docker
molecule-destroy-vminsert:
. .venv/bin/activate; \
cd roles/vminsert && molecule destroy
molecule-destroy-vmstorage:
. .venv/bin/activate; \
cd roles/vmstorage && molecule destroy
molecule-destroy-vmselect:
. .venv/bin/activate; \
cd roles/vmselect && molecule destroy
molecule-destroy-vmauth:
. .venv/bin/activate; \
cd roles/vmauth && molecule destroy
molecule-destroy-single-enterprise:
. .venv/bin/activate; \
cd roles/single && molecule destroy -s docker-enterprise
molecule-destroy-vmagent-enterprise:
. .venv/bin/activate; \
cd roles/vmagent && molecule destroy -s docker-enterprise
molecule-destroy-vmalert-enterprise:
. .venv/bin/activate; \
cd roles/vmalert && molecule destroy -s docker-enterprise
molecule-destroy-vminsert-enterprise:
. .venv/bin/activate; \
cd roles/vminsert && molecule destroy -s enterprise
molecule-destroy-vmstorage-enterprise:
. .venv/bin/activate; \
cd roles/vmstorage && molecule destroy -s enterprise
molecule-destroy-vmselect-enterprise:
. .venv/bin/activate; \
cd roles/vmselect && molecule destroy -s enterprise
molecule-destroy-vmauth-enterprise:
. .venv/bin/activate; \
cd roles/vmauth && molecule destroy -s enterprise
molecule-destroy-cluster-integration:
. .venv/bin/activate; \
cd playbooks/ && molecule destroy -s cluster
molecule-destroy-cluster-integration-enterprise:
. .venv/bin/activate; \
cd playbooks/ && molecule destroy -s cluster-enterprise
molecule-destroy: molecule-destroy-single molecule-destroy-vmagent molecule-destroy-vmalert molecule-destroy-vminsert molecule-destroy-vmstorage molecule-destroy-vmselect molecule-destroy-vmauth molecule-destroy-cluster-integration
molecule-destroy-enterprise: molecule-destroy-single-enterprise molecule-destroy-vmagent-enterprise molecule-destroy-vmalert-enterprise molecule-destroy-vminsert-enterprise molecule-destroy-vmstorage-enterprise molecule-destroy-vmselect-enterprise molecule-destroy-vmauth-enterprise molecule-destroy-cluster-integration
molecule-destroy-integration: molecule-destroy-cluster-integration molecule-destroy-cluster-integration-enterprise