mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-26 06:29:58 +07:00
Add diagrams make target
This commit is contained in:
parent
8fa93b61b6
commit
d7aa7e69d6
@ -1,8 +1,14 @@
|
||||
.POSIX:
|
||||
|
||||
.PHONY: todo
|
||||
todo:
|
||||
printf "# TODO\n\n" > todo.md
|
||||
git grep --line-number TODO .. ':!.' \
|
||||
| awk --field-separator ':| TODO ' '{ printf "- [%s](%s#L%s)\n", $$4, $$1, $$2 }' \
|
||||
| sort \
|
||||
>> todo.md
|
||||
|
||||
.PHONY: diagrams
|
||||
diagrams:
|
||||
cd diagrams \
|
||||
&& python *
|
||||
|
@ -8,7 +8,7 @@ from diagrams.onprem.container import Docker
|
||||
from diagrams.onprem.gitops import ArgoCD
|
||||
from diagrams.onprem.iac import Ansible, Terraform
|
||||
|
||||
with Diagram("Provision (sperated by logical layers)", outformat="jpg"):
|
||||
with Diagram("Provision (sperated by logical layers)", outformat="jpg", show=False):
|
||||
controller = Client("Controller (PC or laptop)")
|
||||
bare_metal_machines = Server(f"Bare metal machine(s)")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user