-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
55 lines (29 loc) · 932 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
52
53
54
55
up:
docker compose --env-file .env up --build -d
ingest:
docker exec elt python ingestion/pipeline.py
dbt-debug:
winpty docker exec -it elt bash -c "cd dbt && dbt debug"
dbt-test:
winpty docker exec -it elt bash -c "cd dbt && dbt test"
dbt-run:
winpty docker exec -it elt bash -c "cd dbt && dbt run"
dbt-deps:
winpty docker exec -it elt bash -c "cd dbt && dbt deps"
dbt-deploy:
winpty docker exec -it elt bash -c "cd dbt && dbt run --target prod"
format:
docker exec elt python -m black -S --line-length 79 ingestion
pytest:
docker exec elt python -m pytest tests -p no:warnings -v
isort:
docker exec elt isort ingestion
type:
docker exec elt mypy --ignore-missing-imports ingestion
lint:
docker exec elt flake8 ingestion
ci: isort format type lint pytest
warehouse:
winpty docker exec -ti warehouse psql postgres://dorian:1412@localhost:5432/retail_sales
down:
docker compose down