forked from Hexlet/hexlet-sicp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make-compose.mk
67 lines (46 loc) · 1.61 KB
/
make-compose.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
compose: compose-clear compose-build compose-setup compose-start
compose-start:
docker-compose up --abort-on-container-exit
compose-start-database:
docker-compose up -d database
compose-stop:
docker-compose stop || true
compose-down:
docker-compose down --remove-orphans || true
compose-clear:
docker-compose down -v --remove-orphans || true
compose-logs:
docker-compose logs -f
compose-setup:
docker-compose build
docker-compose run --rm application make setup
compose-bash:
docker-compose run --rm application bash
compose-build:
docker-compose build
compose-install: compose-app-install compose-frontend-install
compose-app-install:
docker-compose run --rm application make install-app
compose-frontend-install:
docker-compose run --rm frontend make install-frontend
compose-database-start:
docker-compose up --build -d database
compose-database-stop:
docker-compose stop database
compose-db-prepare:
docker-compose run --rm application make db-prepare
compose-lint:
docker-compose run --rm application make lint
compose-lint-fix:
docker-compose run --rm application make lint-fix
compose-test:
docker-compose run application make test
compose-test-coverage:
docker-compose run --rm application make test-coverage
compose-check:
docker-compose run --rm application make check
ci:
docker-compose -f docker-compose.ci.yml -p hexlet-sicp-ci build
docker-compose -f docker-compose.ci.yml -p hexlet-sicp-ci run application make setup
docker-compose -f docker-compose.ci.yml -p hexlet-sicp-ci up --abort-on-container-exit
docker-compose -f docker-compose.ci.yml -p hexlet-sicp-ci down -v --remove-orphans