forked from jbirddog/el-rodeo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
80 lines (69 loc) · 2.08 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
ME := $(shell id -u):$(shell id -g)
.PHONY : spiffworkflow-tests
spiffworkflow-tests:
docker build \
-f sartography/SpiffWorkflow/tests.Dockerfile \
-t spiffworkflow-tests \
--target tests \
../../sartography/SpiffWorkflow
.PHONY : spiffworkflow-tests-par
spiffworkflow-tests-par:
docker build \
-f sartography/SpiffWorkflow/tests.Dockerfile \
-t spiffworkflow-tests \
--target tests-par \
../../sartography/SpiffWorkflow
.PHONY : spiffworklow-frontend-main-latest
frontend-main-latest:
docker compose \
-f docker-compose.yml \
-f sartography/frontend/main-latest.docker-compose.yml \
up spiffworkflow-frontend
.PHONY : pull-spiffworklow-frontend-main-latest
pull-frontend-main-latest:
docker compose \
-f docker-compose.yml \
-f sartography/frontend/main-latest.docker-compose.yml \
pull spiffworkflow-frontend
.PHONY : backend-sqlite
backend-sqlite:
docker compose \
-f docker-compose.yml \
-f sartography/frontend/main-latest.docker-compose.yml \
-f sartography/backend/sqlite.docker-compose.yml \
up --build spiffworkflow-backend
.PHONY : status-proxy
status-proxy:
docker compose \
-f docker-compose.yml \
-f sartography/connector-proxy-status-im/docker-compose.yml \
up --build spiffworkflow-connector
.PHONY : arena
arena:
docker build \
-f sartography/arena/Dockerfile \
-t arena-dev \
../../sartography/spiff-arena
# TODO: rename these
.PHONY : stop-testing
stop-testing:
RUN_AS=$(ME) docker compose \
-f docker-compose.yml \
-f sartography/frontend/main-latest.docker-compose.yml \
-f sartography/backend/sqlite.docker-compose.yml \
-f sartography/connector-proxy-status-im/docker-compose.yml \
down
.PHONY : testing
run-testing: stop-testing
RUN_AS=$(ME) docker compose \
-f docker-compose.yml \
-f sartography/frontend/main-latest.docker-compose.yml \
-f sartography/backend/sqlite.docker-compose.yml \
-f sartography/connector-proxy-status-im/docker-compose.yml \
up -d --build
.PHONY : backend-sh
backend-sh:
docker exec -it spiffworkflow-backend /bin/bash
.PHONY : backend-logs
backend-logs:
docker logs -f spiffworkflow-backend