Skip to content

Commit

Permalink
fix: workflow parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
amfage committed Nov 12, 2024
1 parent 85abeee commit a2e1d65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions templates/argo-tasks/stac-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
default: 'v4'

container:
image: '019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{= inputs.parameters.version }}'
image: '019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=inputs.parameters.version}}'
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand All @@ -50,9 +50,9 @@ spec:
- '--end-year={{=sprig.trunc(4, inputs.parameters.end_datetime)}}'
- '--region={{inputs.parameters.region}}'
- '--geographic-description={{inputs.parameters.geographic_description}}'
- '--odr-url={{inputs.parameters.odr_url}}'
- '--geospatial-category={{inputs.parameters.geospatial_category}}'
- '--gsd={{inputs.parameters.gsd}}'
- '--odr-url={{inputs.parameters.odr_url}}'
outputs:
parameters:
- name: collection_id
Expand Down
8 changes: 2 additions & 6 deletions workflows/raster/standardising.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,11 @@ spec:
- name: geographic_description
value: '{{=sprig.trim(workflow.parameters.geographic_description)}}'
- name: geospatial_category
value: '{{=sprig.trim(workflow.parameters.geospatial_category)}}'
value: '{{=sprig.trim(workflow.parameters.category)}}'
- name: odr_url
value: '{{=sprig.trim(workflow.parameters.odr_url)}}'
- name: version
value: '{{=sprig.trim(workflow.parameters.version)}}'
value: '{{=sprig.trim(workflow.parameters.version_argo_tasks)}}'

- name: tile-index-validate
templateRef:
Expand Down Expand Up @@ -547,10 +547,6 @@ spec:
- '{{=sprig.trim(workflow.parameters.target_epsg)}}'
- '--gsd'
- '{{=sprig.trim(workflow.parameters.gsd)}}'
- '--published-path'
- '{{=sprig.trim(workflow.parameters.odr_url)}}'
- '--current-datetime'
- '{{inputs.parameters.current_datetime}}'

- name: create-collection
nodeSelector:
Expand Down

0 comments on commit a2e1d65

Please sign in to comment.