-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
51 lines (35 loc) · 976 Bytes
/
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
INTO-SUBMODULE := cd ./airflow-docker-dev-setup
up:
git submodule init
git submodule update
$(INTO-SUBMODULE) && $(MAKE) up
stop:
$(INTO-SUBMODULE) && $(MAKE) stop
reload:
$(INTO-SUBMODULE) && $(MAKE) reload
down:
$(INTO-SUBMODULE) && $(MAKE) down
tty-webserver:
$(INTO-SUBMODULE) && $(MAKE) tty-root-webserver
tty-schedular:
$(INTO-SUBMODULE) && $(MAKE) tty-schedular
tty-root-worker:
$(INTO-SUBMODULE) && $(MAKE) tty-root-worker
tty-root-webserver:
$(INTO-SUBMODULE) && $(MAKE) tty-root-webserver
tty-root-schedular:
$(INTO-SUBMODULE) && $(MAKE) tty-root-schedular
ps:
$(INTO-SUBMODULE) && docker compose -p infra ps
lint:
pipenv run pylint cob_datapipeline -E
test:
PYTHONPATH=. pipenv run pytest
compare-dependencies:
.circleci/scripts/compare_dependencies.sh
build-requirements:
.circleci/scripts/build-requirements.sh
rebuild-pipfile: build-requirements
pipenv --rm
rm Pipfile.lock
pipenv install --dev --requirements requirements.txt