-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (29 loc) · 821 Bytes
/
Makefile
File metadata and controls
41 lines (29 loc) · 821 Bytes
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
def:
./build.sh lql plan
./build.sh lql package
make install
up:
docker-compose up -d
down:
docker-compose down -v
ssh:
docker exec -it launchql-ast-postgres /bin/bash
install:
$(MAKE) docker-install || $(MAKE) k8-install
dinstall:
$(MAKE) docker-install
docker-install:
docker exec launchql-ast-postgres /sql-bin/install.sh
k8-install:
$(eval POD_NAME := $(shell kubectl get pods -l app=postgres -n webinc -o jsonpath="{.items[*].metadata.name}"))
kubectl exec -n webinc -it $(POD_NAME) /sql-bin/install.sh
dump:
lql dump --deps --project dbs --path dump.sql
seed:
createdb launchql
lql deploy --recursive --database launchql --yes --project ast
deploy:
@echo lql deploy --recursive --createdb --yes --project ast --database launchql-db
ast:
@cd packages/ast && lql package
$(MAKE) install