fix production environment

This commit is contained in:
Ulf Gebhardt 2024-12-04 10:43:38 +01:00
parent 70dbf09140
commit 51076e21dd
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
3 changed files with 12 additions and 7 deletions

View File

@ -0,0 +1,9 @@
#{{ $branded_image_tag:= env "BRANDED_IMAGE_TAG" | default (exec "../scripts/branded_image_tag.sh" (list) | trim) }}
#{{ $ocelot_image_tag := env "OCELOT_IMAGE_TAG" | default (exec "../scripts/ocelot_image_tag.sh" (list) | trim) }}
{{ $image_tag := env "IMAGE_TAG" | default (exec "../scripts/branded_image_tag.sh" (list) | trim) }}
domain: wir-social-production.ocelot-social-production.it4c.org
namespace: wir-social-ocelot-production
#image_tag: {{ env "IMAGE_TAG" | default (printf "ocelot-%s--branded-%s" $ocelot_image_tag $branded_image_tag) }}
image_tag: {{ $image_tag }}
github_repository: wir-social/wir.social

View File

@ -1,7 +0,0 @@
{{ $branded_image_tag:= env "BRANDED_IMAGE_TAG" | default (exec "../scripts/branded_image_tag.sh" (list) | trim) }}
{{ $ocelot_image_tag := env "OCELOT_IMAGE_TAG" | default (exec "../scripts/ocelot_image_tag.sh" (list) | trim) }}
domain: wir-social-staging.ocelot-social.it4c.org
namespace: wir-social-ocelot
image_tag: {{ env "IMAGE_TAG" | default (printf "ocelot-%s--branded-%s" $ocelot_image_tag $branded_image_tag) }}
github_repository: wir-social/wir.social

View File

@ -3,6 +3,9 @@ environments:
default:
values:
- ./environments/default.yaml.gotmpl
production:
values:
- ./environments/production.yaml.gotmpl
---
repositories:
- name: ocelot-social