Skip to content

Commit

Permalink
DST-17030 Deploy UMT task definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-bcl committed May 29, 2024
1 parent 57aab56 commit 5d9dfab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Render values
shell: bash
run: yq eval-all 'select(fileIndex == 0) *d select(fileIndex == 1)' deploy/values.yml deploy/values-dev.yml > deploy/merged.yml
run: yq eval-all 'select(fileIndex == 0) *d select(fileIndex == 1)' deploy/values.yml deploy/values-dev.yml | tee deploy/merged.yml

- name: Update task definition
run: |
Expand Down
4 changes: 2 additions & 2 deletions deploy/task-definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ containerDefinitions:
- image: "{{ .values.image.name }}:{{ .Env.VERSION }}"
healthCheck:
command: ["CMD-SHELL", "{{ .values.healthcheck.command }}"]
cpu: "{{ .values.resources.cpu }}"
memory: "{{ .values.resources.memory }}"
cpu: {{ .values.resources.cpu }}
memory: {{ .values.resources.memory }}
environment:
{{- range $key, $val := .values.env }}
- name: {{ $key }}
Expand Down
4 changes: 2 additions & 2 deletions deploy/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ healthcheck:
command: "curl -f http://localhost:8080/actuator/health || exit 1"

resources:
cpu: 1000m
memory: 4Gi
cpu: 1024 # = 1 vCPU
memory: 4096 # = 4GB

env:
TZ: Europe/London
Expand Down

0 comments on commit 5d9dfab

Please sign in to comment.