Skip to content

Commit

Permalink
The latest version of create config require title parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Sep 26, 2023
1 parent f391f68 commit f8befce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions workflows/basemaps/create-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ spec:
parameters:
- name: version-basemaps-cli
value: "v6"
- name: title
value: ""
- name: location
value: "s3://bucket/path/to"
templateDefaults:
Expand All @@ -25,10 +27,13 @@ spec:
parameters:
- name: location
value: "{{workflow.parameters.location}}"
- name: title
value: "{{workflow.parameters.title}}"
- name: create-config
inputs:
parameters:
- name: location
- name: title
container:
image: ghcr.io/linz/basemaps/cli:{{=sprig.trim(workflow.parameters['version-basemaps-cli'])}}
command: [node, index.cjs]
Expand All @@ -41,6 +46,8 @@ spec:
"create-config",
"--path",
"{{=sprig.trim(inputs.parameters.location)}}",
"--title",
"{{=sprig.trim(inputs.parameters.title)}}",
"--output",
"/tmp/url",
"--commit",
Expand Down

0 comments on commit f8befce

Please sign in to comment.