binary deployment of twirre.me rust rewrite

This commit is contained in:
Twirre Meulenbelt
2026-06-28 10:08:18 +02:00
parent b44ff6f808
commit 0b65db0e50
8 changed files with 320 additions and 10 deletions

View File

@@ -0,0 +1,7 @@
{% set app_vault_env_var = 'vault_' + (binary_app.name | replace('-', '_')) + '_env' %}
{% set app_vault_env = lookup('vars', app_vault_env_var, default={}) %}
{% set app_non_vault_env_keys = binary_app.non_vault_env_keys | default([]) %}
{% set app_filtered_vault_env = app_vault_env | dict2items | rejectattr('key', 'in', app_non_vault_env_keys) | items2dict %}
{% for key, value in (binary_app.env | combine(app_filtered_vault_env)) | dictsort %}
{{ key }}={{ value }}
{% endfor %}