Skip to content

Commit 3df40d5

Browse files
committed
Add AgentPod plan renderer validation target
1 parent 47881fa commit 3df40d5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
.PHONY: validate validate-json validate-yaml validate-quadlet validate-cli validate-formula doctor probe
1+
.PHONY: validate validate-json validate-yaml validate-quadlet validate-render validate-cli validate-formula doctor probe
22

33
PYTHON ?= python3
44
RUBY ?= ruby
55
CLI := bin/agent-machine
66
FORMULA := packaging/homebrew/Formula/agent-machine.rb
77

8-
validate: validate-json validate-yaml validate-quadlet validate-cli validate-formula
8+
validate: validate-json validate-yaml validate-quadlet validate-render validate-cli validate-formula
99

1010
validate-json:
1111
$(PYTHON) scripts/validate-json.py
@@ -16,6 +16,10 @@ validate-yaml:
1616
validate-quadlet:
1717
$(PYTHON) scripts/validate-quadlet.py
1818

19+
validate-render:
20+
$(PYTHON) scripts/render-agentpod-plan.py examples/local-podman-llama-cpp.agent-pod.json --pretty >/tmp/agent-machine-local-agentpod-plan.json
21+
$(PYTHON) scripts/render-agentpod-plan.py examples/k8s-topolvm.agent-pod.json --pretty >/tmp/agent-machine-k8s-agentpod-plan.json
22+
1923
validate-cli:
2024
sh -n $(CLI)
2125
chmod +x $(CLI)

0 commit comments

Comments
 (0)