Replace compose runtime with scoped kind deployment

This commit is contained in:
ms2k 2026-07-18 16:16:24 +09:00
commit 0f888986d7

View file

@ -1,6 +1,4 @@
.PHONY: test check-dependencies check-fixture-lib check-kind-matrix check-storage-foundation check-frontend build-frontend mvp-up mvp-down mvp-build mvp-logs mvp-ps
COMPOSE := nerdctl compose -f deploy/docker-compose.yml
.PHONY: test check-dependencies check-fixture-lib check-kind-matrix check-storage-foundation check-app app-up app-down check-frontend build-frontend
test:
cabal test --offline nuthatch-unit
@ -17,24 +15,17 @@ check-kind-matrix:
check-storage-foundation:
./tests/kind/wp04-run.sh
check-app:
./tests/kind/wp05-run.sh
app-up:
NUTHATCH_APP_INTERACTIVE=1 ./tests/kind/wp05-run.sh
app-down:
./tests/kind/destroy.sh
check-frontend:
npm --prefix web run check
build-frontend:
npm --prefix web run build
mvp-build:
$(COMPOSE) build nuthatch
mvp-up:
$(COMPOSE) up --build -d
@echo "Nuthatch MVP: http://127.0.0.1:8080 (dev login with any single-token username)"
mvp-down:
$(COMPOSE) down -v
mvp-logs:
$(COMPOSE) logs -f nuthatch
mvp-ps:
$(COMPOSE) ps