mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-23 01:04:32 +07:00
5ddb62c08b
- More secure - We can still use development environment without external resources
44 lines
566 B
Makefile
44 lines
566 B
Makefile
.POSIX:
|
|
.PHONY: *
|
|
.EXPORT_ALL_VARIABLES:
|
|
|
|
KUBECONFIG = $(shell pwd)/metal/kubeconfig.yaml
|
|
KUBE_CONFIG_PATH = $(KUBECONFIG)
|
|
|
|
default: metal bootstrap external wait
|
|
|
|
configure:
|
|
./scripts/configure
|
|
git status
|
|
|
|
metal:
|
|
make -C metal
|
|
|
|
bootstrap:
|
|
make -C bootstrap
|
|
|
|
external:
|
|
make -C external
|
|
|
|
wait:
|
|
./scripts/wait-main-apps
|
|
|
|
tools:
|
|
make -C tools
|
|
|
|
docs:
|
|
make -C docs
|
|
|
|
dev:
|
|
make -C metal cluster env=dev
|
|
make -C bootstrap
|
|
|
|
docs:
|
|
docker run \
|
|
--rm \
|
|
--interactive \
|
|
--tty \
|
|
--publish 8000:8000 \
|
|
--volume $(shell pwd):/docs \
|
|
squidfunk/mkdocs-material
|