-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
57 lines (41 loc) · 1.07 KB
/
Makefile
File metadata and controls
57 lines (41 loc) · 1.07 KB
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
.PHONY: \
up down start stop restart logs ps build \
clean-wheels wheels \
ansible-update ansible-wheel-update \
ansible-requirements requirements
ANSIBLE_DESTDIR ?= ansible/roles/passari_packages/files
up:
docker-compose up
down:
docker-compose down
start:
docker-compose start
stop:
docker-compose stop
restart:
docker-compose restart
logs:
docker-compose logs -f
ps:
docker-compose ps
build:
docker-compose build
clean-wheels:
rm -fr wheels
wheels:
./build-wheels
ansible-update: clean-wheels wheels ansible-wheel-update ansible-requirements
ansible-wheel-update:
rm -fr $(ANSIBLE_DESTDIR)/wheels
mkdir -p $(ANSIBLE_DESTDIR)/wheels
cp -vf wheels/*.whl $(ANSIBLE_DESTDIR)/wheels/
ansible-requirements: requirements.txt
rm -f $(ANSIBLE_DESTDIR)/requirements*.txt
cp -vf requirements.txt $(ANSIBLE_DESTDIR)/
./compile-requirements --hashes \
$(ANSIBLE_DESTDIR)/requirements-workflow.in
./compile-requirements --hashes \
$(ANSIBLE_DESTDIR)/requirements-web-ui.in
requirements: requirements.txt requirements-dev.txt
%.txt: %.in
./compile-requirements $<