From 66f94653f034f1a0a4ad4389c5f127e524c45814 Mon Sep 17 00:00:00 2001 From: ori Date: Thu, 8 Aug 2024 17:47:36 +0300 Subject: [PATCH] add rehovot welframe frames workflow --- ...c-fetcher-instance-organization-workflows.yaml | 1 + workflows/values.yaml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/workflows/templates/generic-fetcher-instance-organization-workflows.yaml b/workflows/templates/generic-fetcher-instance-organization-workflows.yaml index 571cb88..685d89f 100644 --- a/workflows/templates/generic-fetcher-instance-organization-workflows.yaml +++ b/workflows/templates/generic-fetcher-instance-organization-workflows.yaml @@ -38,6 +38,7 @@ spec: "target_package_id": {{ $workflow.target_package_id | quote }}, "target_organization_id": {{ $organization | quote }}, "source_filter": {{ $workflow.source_filter | toJson }} + {{- if $workflow.post_processing }},"post_processing": {{ $workflow.post_processing | toJson }}{{- end }} } --- apiVersion: argoproj.io/v1alpha1 diff --git a/workflows/values.yaml b/workflows/values.yaml index 3e4826c..45e11e6 100644 --- a/workflows/values.yaml +++ b/workflows/values.yaml @@ -3,6 +3,21 @@ concurrency: 4 genericFetcherInstanceOrganizationWorkflows: + rehovot: + muni: + - name_suffix: rehovot-welfare-frames + schedule: "4 6 1 * *" # python3 workflows/bin/get_schedule.py monthly + source_url: https://data.gov.il/dataset/welfare-frames + target_package_id: welfare-frames + source_filter: + City_Name: רחובות + post_processing: + - type: keep-last-updated-per-year + month: 10 # keep the last updated file for each year on 1st of this month (must be between 1-11 inclusive, 12 is not supported) + format: csv + resource_name: מסגרות רווחה + + haifa: israel-gov: - name_suffix: haifa-automated-devices