From 1593ff2a231f0c5018314f1f73f16a1e07d2f6f8 Mon Sep 17 00:00:00 2001 From: Paul Fouquet Date: Fri, 11 Oct 2024 12:05:09 +1300 Subject: [PATCH] feat: national dem path without dates --- workflows/raster/national-dem.yaml | 4 +++- workflows/raster/publish-odr.yaml | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/workflows/raster/national-dem.yaml b/workflows/raster/national-dem.yaml index b38fa578..0c923512 100644 --- a/workflows/raster/national-dem.yaml +++ b/workflows/raster/national-dem.yaml @@ -3,7 +3,7 @@ apiVersion: argoproj.io/v1alpha1 kind: WorkflowTemplate metadata: - name: test-national-dem + name: national-dem labels: linz.govt.nz/category: raster linz.govt.nz/data-type: raster @@ -182,6 +182,8 @@ spec: value: '{{workflow.parameters.copy_option}}' - name: ticket value: '{{=sprig.trim(workflow.parameters.ticket)}}' + - name: add_date_in_survey_path + value: 'false' depends: 'stac-validate.Succeeded && create-config.Succeeded' outputs: diff --git a/workflows/raster/publish-odr.yaml b/workflows/raster/publish-odr.yaml index 9ab974b9..bacc0eee 100644 --- a/workflows/raster/publish-odr.yaml +++ b/workflows/raster/publish-odr.yaml @@ -93,6 +93,8 @@ spec: - name: source - name: target_bucket_name - name: ticket + - name: add_date_in_survey_path + default: 'true' dag: tasks: - name: generate-path @@ -107,6 +109,8 @@ spec: value: '{{inputs.parameters.target_bucket_name}}' - name: source value: '{{inputs.parameters.source}}' + - name: add_date_in_survey_path + value: '{{inputs.parameters.add_date_in_survey_path}}' - name: push-to-github templateRef: