Skip to content

Commit

Permalink
fix: structuring
Browse files Browse the repository at this point in the history
  • Loading branch information
MDavidson17 committed Oct 4, 2023
1 parent 5572508 commit f775217
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion templates/argo-tasks/copy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ spec:

- name: aws-role-config-path
description: The path(s) to the aws configs that enable writing to buckets
default: "s3://linz-bucket-config/config-write.imagery.json,s3://linz-bucket-config/config-write.elevation.json,s3://linz-bucket-config/config-write.topographic.json"

container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
Expand All @@ -42,7 +43,7 @@ spec:
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
value: "{{inputs.parameters.aws-role-config-path}}"
value: "{{inputs.parameters.aws-role-config-path}}, s3://linz-bucket-config/config.json"
args:
[
"copy",
Expand Down
2 changes: 0 additions & 2 deletions workflows/imagery/publish-copy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ spec:
value: "{{item}}"
- name: version-argo-tasks
value: "{{workflow.parameters.version-argo-tasks}}"
- name: aws-role-config-path
value: "s3://linz-bucket-config/config.json"
depends: "create-manifest-github.Succeeded"
withParam: "{{tasks.create-manifest-github.outputs.parameters.files}}"

Expand Down

0 comments on commit f775217

Please sign in to comment.