Skip to content

Commit

Permalink
Update create mapsheet workflow to use argo tasks container.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Nov 8, 2023
1 parent a103d01 commit 20b9489
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions workflows/basemaps/mapsheet-json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ spec:
parameters:
- name: version-argo-tasks
value: 'v2'
- name: version-basemaps-cli
value: 'v6'
- name: layer
value: '104687'
- name: config
Expand Down Expand Up @@ -85,17 +83,17 @@ spec:
path: /tmp/flatGeobuf.fgb
container:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}
command: [node, index.cjs]
command: [node, index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
value: s3://linz-bucket-config/config.json
args:
[
'-V',
'bmc',
'create-mapsheet',
'--path',
'/tmp/flatGeobuf.fgb',
'--config',
'--bm-config',
'{{=sprig.trim(workflow.parameters.config)}}',
'--output',
'/tmp/mapsheet.json',
Expand Down

0 comments on commit 20b9489

Please sign in to comment.