Skip to content

Commit

Permalink
refactor: update format-json command call
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfouquet committed Sep 14, 2023
1 parent d1d4df9 commit 47343a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/argo-tasks/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ spec:
- name: target
description: (Optional) Target directory (testing)
default: ""
- name: fix-content-type
description: (Optional) Set the content-type to S3 object
default: ""
- name: version
description: argo-task Container version to use
default: "v2"
Expand All @@ -27,6 +30,7 @@ spec:
- name: AWS_ROLE_CONFIG_PATH
value: s3://linz-bucket-config/config.json
args:
- "pretty-print"
- "format-json"
- "{{= inputs.parameters.source }}"
- "{{= sprig.empty(inputs.parameters.target) ? '' : '--target=' + inputs.parameters.target }}"
- "{{= sprig.empty(inputs.parameters['fix-content-type']) ? '' : '--fix-content-type=' + inputs.parameters['fix-content-type'] }}"

0 comments on commit 47343a9

Please sign in to comment.