forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compatibility.mk
98 lines (62 loc) · 2.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
# 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: backup check-memory destroy \
dev.provision.services dev.repo.reset \
dev.up.all dev.up.watchers down \
e2e-shell healthchecks lms-restart \
lms-watcher-shell logs provision pull \
pull.xqueue restore static stats stop stop.all \
stop.watchers stop.xqueue studio-restart \
studio-watcher-shell 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.
#####################################################################
backup: dev.backup
check-memory: dev.check-memory
destroy: dev.destroy
dev.provision.services: dev.provision
dev.repo.reset: dev.reset-repos
dev.up.all: dev.up.with-watchers
dev.up.watchers: dev.up.lms_watcher+studio_watcher
down: dev.down
e2e-shell: e2e-tests.with-shell
healthchecks: dev.check
lms-restart: dev.restart-devserver.lms
lms-watcher-shell: dev.shell.lms_watcher
logs: dev.logs
provision: dev.provision
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: 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
validate: dev.validate
xqueue_consumer-restart: dev.restart-devserver.xqueue_consumer
xqueue-restart: dev.restart-devserver.xqueue