forked from edly-io/devstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compatibility.mk
122 lines (76 loc) · 3.52 KB
/
compatibility.mk
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
# This Makefile exists entirely to support old targets that were once
# part of the documented Devstack interface but no longer are.
# This file allows us to remove old targets from the main Makefile
# (thus making it easier to read and making the `make help` message cleaner)
# while avoiding breaking backwards-compatibility with developers' existing workflows.
# Housekeeping Rules:
# * Organize targets into Parameterized and Simple. Alphabetize within those sections.
# * Keep target definitions simple. Ideally, targets in this file are just aliases to
# equivalent commands in the main Makefile.
# All devstack targets are "PHONY" in that they do not name actual files.
# Thus, all non-parameterized targets should be added to this declaration.
.PHONY: analytics-pipeline-shell backup check-memory destroy \
dev.provision.analytics_pipeline dev.provision.services dev.repo.reset \
dev.up.all dev.up.analytics_pipeline dev.up.watchers down \
down-marketing e2e-shell healthchecks help-marketing lms-restart \
lms-watcher-shell logs provision pull pull.analytics_pipeline \
pull.xqueue restore static stats stop stop.all stop.analytics_pipeline \
stop-marketing stop.watchers stop.xqueue studio-restart \
studio-watcher-shell up-marketing up-marketing-detached validate \
xqueue_consumer-restart xqueue-restart
#####################################################################
# Parameterized tagets.
#####################################################################
dev.provision.services.%:
make dev.provision.$*
healthchecks.%:
make dev.check.$*
mysql-shell-%:
make dev.dbshell.$*
%-update-db:
make dev.migrate.$*
#####################################################################
# Simple tagets.
#####################################################################
analytics-pipeline-shell: dev.shell.analyticspipeline
backup: dev.backup
check-memory: dev.check-memory
destroy: dev.destroy
dev.provision.analytics_pipeline: dev.provision.analyticspipeline
dev.provision.services: dev.provision
dev.repo.reset: dev.reset-repos
dev.up.all: dev.up.with-watchers
dev.up.analytics_pipeline: dev.up.analyticspipeline
dev.up.watchers: dev.up.lms_watcher+studio_watcher
down: dev.down
down-marketing: dev.down
e2e-shell: e2e-tests.with-shell
healthchecks: dev.check
help-marketing:
@echo "This command is deprecated."
@echo "All Marketing Site commands can be expressed using the standard Devstack command format."
@echo "For example, 'make dev.up.marketing' brings up the Marketing Site service,"
@echo "and 'make dev.shell.marketing' creates a shell into it."
lms-restart: dev.restart-devserver.lms
lms-watcher-shell: dev.shell.lms_watcher
logs: dev.logs
provision: dev.provision
pull.analytics_pipeline: dev.pull.analyticspipeline
pull: dev.pull
pull.xqueue: dev.pull.without-deps.xqueue+xqueue_consumer
restore: dev.restore
static: dev.static
stats: dev.stats
stop.all: dev.stop
stop.analytics_pipeline: dev.stop.namenode+datanode+resourcemanager+nodemanager+sparkmaster+sparkworker+vertica+analyticspipeline
stop: dev.stop
stop-marketing: dev.stop
stop.watchers: dev.stop.lms_watcher+studio_watcher
stop.xqueue: dev.stop.xqueue+xqueue_consumer
studio-restart: dev.restart-devserver.studio
studio-watcher-shell: dev.shell.studio_watcher
up-marketing-detached: dev.up.$(DEFAULT_SERVICES)+marketing
up-marketing: dev.up.attach.marketing
validate: dev.validate
xqueue_consumer-restart: dev.restart-devserver.xqueue_consumer
xqueue-restart: dev.restart-devserver.xqueue