-
-
Notifications
You must be signed in to change notification settings - Fork 765
/
Makefile
48 lines (34 loc) · 933 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
.POSIX:
.PHONY: *
.EXPORT_ALL_VARIABLES:
KUBECONFIG = $(shell pwd)/metal/kubeconfig.yaml
KUBE_CONFIG_PATH = $(KUBECONFIG)
default: metal system external smoke-test post-install clean
configure:
./scripts/configure
git status
metal:
make -C metal
system:
make -C system
external:
make -C external
smoke-test:
make -C test filter=Smoke
post-install:
@./scripts/hacks
# TODO maybe there's a better way to manage backup with GitOps?
backup:
./scripts/backup --action setup --namespace=actualbudget --pvc=actualbudget-data
./scripts/backup --action setup --namespace=jellyfin --pvc=jellyfin-data
restore:
./scripts/backup --action restore --namespace=actualbudget --pvc=actualbudget-data
./scripts/backup --action restore --namespace=jellyfin --pvc=jellyfin-data
test:
make -C test
clean:
docker compose --project-directory ./metal/roles/pxe_server/files down
docs:
mkdocs serve
git-hooks:
pre-commit install