- Add .gitignore: exclude compiled binaries, build artifacts, and Helm values files containing real secrets (authentik, prometheus) - Add all Kubernetes deployment manifests (deployment/) - Add services source code: ha-sync, device-inventory, games-console, paperclip, parts-inventory - Add Ansible orchestration: playbooks, roles, inventory, cloud-init - Add hardware specs, execution plans, scripts, HOMELAB.md - Add skills/homelab/SKILL.md + skills/install.sh to preserve Copilot skill - Remove previously-tracked inventory-cli binary from git index Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
22 lines
594 B
Makefile
22 lines
594 B
Makefile
.PHONY: build load deploy undeploy cli
|
|
|
|
build:
|
|
@echo "Building backend..."
|
|
docker build -t games-console-backend:latest -f backend/Dockerfile backend/
|
|
@echo "Building UI..."
|
|
docker build -t games-console-ui:latest -f ui/Dockerfile ui/
|
|
|
|
load: build
|
|
@bash build-and-load.sh
|
|
|
|
deploy:
|
|
kubectl apply -f ../../deployment/games-console/
|
|
|
|
undeploy:
|
|
kubectl delete -f ../../deployment/games-console/ --ignore-not-found
|
|
|
|
cli:
|
|
@echo "Building gconsole CLI binary..."
|
|
cd cli && go build -o ../bin/gconsole .
|
|
@echo "Built: bin/gconsole"
|
|
@echo "Install with: sudo cp bin/gconsole /usr/local/bin/"
|