key-cape/Makefile
tegwick efce3e9331
All checks were successful
Build and Publish Container Image / build-and-push (push) Successful in 25s
Implement KeyCape provider and service identity contracts
Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02e3f-7301-7622-9be1-12e5f352881c
2026-08-23 13:10:13 +02:00

35 lines
786 B
Makefile

IMAGE_REGISTRY ?= 92.205.130.254:32166
IMAGE_REPO ?= coulomb/key-cape
IMAGE_TAG ?= latest
IMAGE := $(IMAGE_REGISTRY)/$(IMAGE_REPO):$(IMAGE_TAG)
.PHONY: dev seed build test lint contract-test image push image-tag
PLAYBOOK_VALIDATOR ?= ../net-kingdom/tools/playbook-capability-contract/playbook_contract_validator.py
dev:
docker compose -f docker-compose.dev.yml up
seed:
docker compose -f docker-compose.dev.yml exec lldap /scripts/seed.sh
build:
cd src && go build ./...
test:
cd src && go test ./...
lint:
cd src && go vet ./...
contract-test:
python3 $(PLAYBOOK_VALIDATOR) capabilities/playbooks/*.yaml
image:
docker build -t $(IMAGE) .
push: image
docker push $(IMAGE)
image-tag:
docker tag $(IMAGE) $(IMAGE_REGISTRY)/$(IMAGE_REPO):$(IMAGE_TAG)