From f8befcea35fc7100f47c92f84e5e0b0569c2efc0 Mon Sep 17 00:00:00 2001 From: Wentao Kuang Date: Wed, 27 Sep 2023 10:25:43 +1300 Subject: [PATCH] The latest version of create config require title parameter --- workflows/basemaps/create-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/workflows/basemaps/create-config.yaml b/workflows/basemaps/create-config.yaml index 0b6e8eef4..ca45a387e 100644 --- a/workflows/basemaps/create-config.yaml +++ b/workflows/basemaps/create-config.yaml @@ -10,6 +10,8 @@ spec: parameters: - name: version-basemaps-cli value: "v6" + - name: title + value: "" - name: location value: "s3://bucket/path/to" templateDefaults: @@ -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] @@ -41,6 +46,8 @@ spec: "create-config", "--path", "{{=sprig.trim(inputs.parameters.location)}}", + "--title", + "{{=sprig.trim(inputs.parameters.title)}}", "--output", "/tmp/url", "--commit",