Skip to content

Commit

Permalink
fix production environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfgebhardt committed Dec 4, 2024
1 parent 70dbf09 commit 51076e2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
9 changes: 9 additions & 0 deletions helmfile/environments/production.yaml.gotmpl
Original file line number Diff line number Diff line change
@@ -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
7 changes: 0 additions & 7 deletions helmfile/environments/production.yaml.gotmpl.old

This file was deleted.

3 changes: 3 additions & 0 deletions helmfile/helmfile.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ environments:
default:
values:
- ./environments/default.yaml.gotmpl
production:
values:
- ./environments/production.yaml.gotmpl
---
repositories:
- name: ocelot-social
Expand Down

0 comments on commit 51076e2

Please sign in to comment.