File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88- [ List] ( ##argo-tasks/list )
99- [ Push to Github] ( ##argo-tasks/push-to-github )
1010- [ Generate Path] ( ##argo-tasks/generate-path )
11- - [ STAC read collection] ( ##argo-tasks/stac-read- collection )
11+ - [ STAC collection output ] ( ##argo-tasks/stac-collection-output )
1212- [ STAC setup] ( ##argo-tasks/stac-setup )
1313- [ STAC validate] ( ##argo-tasks/stac-validate )
1414- [ Identify updated items] ( ##argo-tasks/identify-updated-items )
@@ -227,17 +227,17 @@ arguments:
227227 value: '{{inputs.parameters.source}}'
228228` ` `
229229
230- # # argo-tasks/stac-read- collection
230+ # # argo-tasks/stac-collection-output
231231
232- Template to read a STAC collection from the ODR; can add more outputs as required. Currently outputs `scale`
232+ Template to read a STAC collection from the ODR and write STAC metadata as workflow output parameters ; can add more outputs as required. Currently outputs `scale`
233233See (https://github.com/linz/argo-tasks#stac-read-collection)
234234
235235# ## Template Usage
236236
237237` ` ` yaml
238- - name: stac-read-collection
238+ - name: get-scale
239239 templateRef:
240- name: tpl-at-stac-read- collection
240+ name: tpl-at-stac-collection-output
241241 template: main
242242 arguments:
243243 parameters:
Original file line number Diff line number Diff line change @@ -4,13 +4,9 @@ apiVersion: argoproj.io/v1alpha1
44kind : WorkflowTemplate
55metadata :
66 # Template from linz/argo-tasks
7- # see https://github.com/linz/argo-tasks#stac-read- collection
8- name : tpl-at-stac-read- collection
7+ # see https://github.com/linz/argo-tasks#stac-collection-output
8+ name : tpl-at-stac-collection-output
99spec :
10- templateDefaults :
11- container :
12- imagePullPolicy : Always
13- image : ' '
1410 entrypoint : main
1511 templates :
1612 - name : main
@@ -25,17 +21,18 @@ spec:
2521
2622 container :
2723 image : ' 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=inputs.parameters.version}}'
24+ imagePullPolicy : Always
2825 env :
2926 - name : AWS_ROLE_CONFIG_PATH
3027 value : s3://linz-bucket-config/config.json
3128 args :
3229 - ' stac'
33- - ' read- collection'
34- - " {{= sprig.empty(inputs.parameters.odr_url) ? '' : '--odr-url=' + inputs.parameters.odr_url }}"
30+ - ' collection-output '
31+ - " {{ '--odr-url=' + inputs.parameters.odr_url }}"
3532
3633 outputs :
3734 parameters :
3835 - name : scale
3936 description : Scale of the ODR dataset
4037 valueFrom :
41- path : ' /tmp/stac-read- collection/scale'
38+ path : ' /tmp/stac-collection-output /scale'
You can’t perform that action at this time.
0 commit comments