Add cuddle

This commit is contained in:
2022-10-12 22:39:45 +02:00
parent 553b8722de
commit 0575825eda
16 changed files with 344 additions and 73 deletions

11
scripts/render_templates.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
deploymentrepo="$TMP/deployments"
CUDDLE_FETCH_POLICY=never cuddle_cli render_template \
--template-file "$TMP/docker-compose.deploy_release.yml.tmpl" \
--dest "$deploymentrepo/$SERVICE/docker-compose.yml" \
--extra-var "image=$tag"