Skip to content

Commit

Permalink
updates after task change
Browse files Browse the repository at this point in the history
  • Loading branch information
geomatician committed Sep 1, 2023
1 parent 6dcadfd commit 218461b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
15 changes: 11 additions & 4 deletions charts/workflow-config/templates/tasks/publish-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ spec:
artifacts:
- name: input
path: /mnt/input.json
outputs:
artifacts:
- name: output
path: /mnt/output.json
archive:
none: {}
s3:
key: "executions/{{`{{workflow.name}}`}}/output.json"
container:
env:
- name: AWS_ACCESS_KEY_ID
Expand Down Expand Up @@ -58,9 +66,8 @@ spec:
# should pin to a specific version or label here
image: quay.io/element84/publish-stac-task:latest
imagePullPolicy: IfNotPresent
command:
- python3
- ./task.py
args:
- run
- /mnt/input.json
- /mnt/input.json
- --output
- /mnt/output.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ spec:
artifacts:
- name: input
from: "{{`{{tasks.copy-assets.outputs.artifacts.output}}`}}"

outputs:
artifacts:
- name: output
from: {{`"{{tasks.publish.outputs.artifacts.output}}"`}}

0 comments on commit 218461b

Please sign in to comment.