diff --git a/charts/argo-services/templates/workflows/post-sync/workflow.yaml b/charts/argo-services/templates/workflows/post-sync/workflow.yaml index 8b8392a1711..c46fb132f87 100644 --- a/charts/argo-services/templates/workflows/post-sync/workflow.yaml +++ b/charts/argo-services/templates/workflows/post-sync/workflow.yaml @@ -126,11 +126,17 @@ spec: image: 172025368201.dkr.ecr.eu-west-1.amazonaws.com/github/alphagov/govuk/toolbox:latest command: - /bin/bash + volumeMounts: + - name: tmp + mountPath: /tmo resources: {} source: > #!/usr/bin/env bash echo {{"{{workflow.failures}}"}} | jq -r 'group_by(.templateName) | map({templateName: .[0].templateName, errorMessages: [.[].message | select(length > 0)] | unique}) | map("- \(.templateName): " + (["\(.errorMessages[])"] | join(",")) ) | .[]' > /tmp/message.txt + volumes: + - name: tmp + emptyDir: {} - name: exit-handler steps: - - name: parse-failures