Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfouquet committed May 17, 2024
1 parent 5512f29 commit b8e2e6d
Showing 1 changed file with 25 additions and 9 deletions.
34 changes: 25 additions & 9 deletions workflows/cron/cron-stac-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
name: cron-stac-validate
name: test-cron-stac-validate
labels:
linz.govt.nz/category: stac
spec:
schedule: '0 07 * * *' # 7 AM every day
schedule: 56 13 * * * # 7 AM every day
timezone: 'NZ'
startingDeadlineSeconds: 3600 # Allow 1 hour delay if the workflow-controller clashes during the starting time.
concurrencyPolicy: 'Allow'
Expand All @@ -17,20 +17,36 @@ spec:
entrypoint: main
arguments:
parameters:
- name: uri
value: ''
- name: checksum_assets
value: 'false'
- name: 'checksum_links'
value: 'true'
templates:
- name: main
retryStrategy:
limit: '0'
steps:
- - name: stac-validate
- - name: stac-validate-imagery
templateRef:
name: tpl-at-stac-validatetoto
name: tpl-at-stac-validate
template: main
arguments:
parameters:
- name: 'uri'
value: '{{workflow.parameters.uri}}'
value: 's3://nz-imageryfails/catalog.json'
- name: 'checksum_assets'
value: 'false'
value: '{{workflow.parameters.checksum_assets}}'
- name: 'checksum_links'
value: 'true'
value: '{{workflow.parameters.checksum_assets}}'
- name: stac-validate-elevation
templateRef:
name: tpl-at-stac-validate
template: main
arguments:
parameters:
- name: 'uri'
value: 's3://nz-elevationfails/catalog.json'
- name: 'checksum_assets'
value: '{{workflow.parameters.checksum_assets}}'
- name: 'checksum_links'
value: '{{workflow.parameters.checksum_assets}}'

0 comments on commit b8e2e6d

Please sign in to comment.