feat(projects): migrate haumdaucherde website into monorepo and document in AGENTS.md

This commit is contained in:
Moritz Graf
2026-10-12 10:42:30 +02:00
parent f225d4fe4e
commit 3b190988be
76 changed files with 16748 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
REGISTRY ?= registry.haumdaucher.de
IMAGE_NAME ?= haumdaucher-website
TAG ?= latest
PLATFORM ?= linux/amd64
NAMESPACE ?= haumdaucher
IMAGE ?= $(REGISTRY)/$(IMAGE_NAME):$(TAG)
.PHONY: compile dev test build tag push deploy all
all: compile build tag push deploy
compile:
npm run build
dev:
npm run dev
test:
npm test -- --run
build:
./deploy.sh
tag:
docker tag $(IMAGE_NAME):$(TAG) $(IMAGE)
push:
docker push $(IMAGE)
deploy:
kubectl apply -f ../../k8s/haumdaucher/haumdaucher.yaml
kubectl rollout restart deployment/haumdaucher-website -n $(NAMESPACE)
kubectl rollout status deployment/haumdaucher-website -n $(NAMESPACE)