From c9e0ae5907c458e2c7f55dcb9ca5e66d16455e32 Mon Sep 17 00:00:00 2001 From: Paul Fouquet Date: Tue, 10 Dec 2024 16:11:26 +1300 Subject: [PATCH] fix: national DEM workflow should have a JIRA associated TDE-1162 --- workflows/cron/cron-national-dem.yaml | 2 ++ workflows/raster/README.md | 1 + workflows/raster/national-dem.yaml | 6 ++++++ 3 files changed, 9 insertions(+) diff --git a/workflows/cron/cron-national-dem.yaml b/workflows/cron/cron-national-dem.yaml index 396e0eaa5..0a5b9db65 100644 --- a/workflows/cron/cron-national-dem.yaml +++ b/workflows/cron/cron-national-dem.yaml @@ -23,6 +23,8 @@ spec: name: national-dem arguments: parameters: + - name: 'ticket' + value: 'TDE-1130' - name: 'config_file' value: 'https://raw.githubusercontent.com/linz/basemaps-config/master/config/tileset/elevation.json' - name: 'odr_url' diff --git a/workflows/raster/README.md b/workflows/raster/README.md index 3ba99ff1f..bbebf2a1f 100644 --- a/workflows/raster/README.md +++ b/workflows/raster/README.md @@ -298,6 +298,7 @@ Publishing to the AWS Registry of Open Data is an optional step [publish-odr](#P | Parameter | Type | Default | Description | | -------------- | ---- | ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ticket | str | | Ticket ID e.g. 'TDE-1130' | | config_file | str | https://raw.githubusercontent.com/linz/basemaps-config/master/config/tileset/elevation.json | Location of the configuration file listing the source datasets to merge. | | odr_url | str | | (Optional) If an existing dataset add the S3 path to the dataset here to load existing metadata e.g. "s3://nz-elevation/new-zealand/new-zealand/dem_1m/2193/" | | group | 2 | | How many output tiles to process in each standardising task "pod". Change if you have resource or performance issues when standardising a dataset. | diff --git a/workflows/raster/national-dem.yaml b/workflows/raster/national-dem.yaml index 619a4ac52..62a2433af 100644 --- a/workflows/raster/national-dem.yaml +++ b/workflows/raster/national-dem.yaml @@ -16,6 +16,9 @@ spec: workflowMetadata: labels: linz.govt.nz/region: 'new-zealand' + labelsFrom: + linz.govt.nz/ticket: + expression: workflow.parameters.ticket podMetadata: labels: linz.govt.nz/category: raster @@ -32,6 +35,9 @@ spec: - name: version_topo_imagery description: 'Specify a version of the topo-imagery image to use, e.g. "v4.8" or "latest"' value: 'v7' + - name: ticket + description: 'Ticket ID, e.g. "TDE-1130"' + value: '' - name: config_file description: 'Location of the configuration file listing the source datasets to merge.' value: 'https://raw.githubusercontent.com/linz/basemaps-config/master/config/tileset/elevation.json'