Fix auto-templates (#17)

This commit is contained in:
cybermaggedon 2024-08-22 00:19:55 +01:00 committed by GitHub
parent c4bfd9fc8c
commit d3cdb97528
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 150 additions and 82 deletions

View file

@ -36,10 +36,10 @@ set-version:
TEMPLATES=azure bedrock claude cohere mix ollama openai vertexai \
openai-neo4j storage
DCS=$(foreach template,${TEMPLATES},${template:%=docker-compose-%.yaml})
DCS=$(foreach template,${TEMPLATES},${template:%=tg-launch-%.yaml})
update-templates: set-version ${DCS}
docker-compose-%.yaml: templates/docker-compose-%.jsonnet templates/components/version.jsonnet
jsonnet -S ${@:docker-compose-%.yaml=templates/docker-compose-%.jsonnet} > $@
tg-launch-%.yaml: templates/%.jsonnet templates/components/version.jsonnet
jsonnet -S ${@:tg-launch-%.yaml=templates/%.jsonnet} > $@