Skip to content

Commit

Permalink
feat: --no_date_in_survey_path handling TDE-1261
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfouquet committed Sep 18, 2024
1 parent fa32e84 commit d2e5499
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/argo-tasks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ arguments:
value: '{{workflow.parameters.version_argo_tasks}}'
- name: target_bucket_name
value: '{{inputs.parameters.target_bucket_name}}'
- name: no_date_in_survey_path
value: '{{inputs.parameters.no_date_in_survey_path}}'
- name: source
value: '{{inputs.parameters.source}}'
```
Expand Down
4 changes: 4 additions & 0 deletions templates/argo-tasks/generate-path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spec:
description: s3 path of source data
- name: target_bucket_name
description: target bucket name e.g. 'nz-imagery'
- name: no_date_in_survey_path
description: 'If the survey path should not contain the date'
default: 'false'
- name: version
description: argo-task Container version to use
default: 'v4'
Expand All @@ -33,6 +36,7 @@ spec:
- 'generate-path'
- '--target-bucket-name'
- '{{=sprig.trim(inputs.parameters.target_bucket_name)}}'
- '--no_date_in_survey_path={{=sprig.trim(inputs.parameters.no_date_in_survey_path)}}'
- '{{=sprig.trim(inputs.parameters.source)}}'

outputs:
Expand Down

0 comments on commit d2e5499

Please sign in to comment.