Skip to content

Commit

Permalink
add haifa defi workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Jul 15, 2024
1 parent 7e1d6fe commit 5d36e20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
{{- range $organization, $workflows := $organizations }}
{{- range $workflow := $workflows }}
apiVersion: argoproj.io/v1alpha1
kind: Workflow
kind: CronWorkflow
metadata:
generateName: generic-fetcher-
name: generic-fetcher-{{ $workflow.name_suffix }}
annotations:
dgp.datacity.org.il/instance: {{ $instance | quote }}
dgp.datacity.org.il/organization: {{ $organization | quote }}
dgp.datacity.org.il/source_url: {{ $workflow.source_url | quote }}
dgp.datacity.org.il/target_package_id: {{ $workflow.target_package_id | quote }}
spec:
schedule: "@monthly"
concurrencyPolicy: Forbid
workflowTemplateRef:
name: dgp-operator-runner
arguments:
Expand Down
3 changes: 2 additions & 1 deletion workflows/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
genericFetcherInstanceOrganizationWorkflows:
haifa:
israel-gov:
- source_url: https://data.gov.il/dataset/defi
- name_suffix: haifa-defi
source_url: https://data.gov.il/dataset/defi
target_package_id: defi
source_filter:
indexCity: חיפה

0 comments on commit 5d36e20

Please sign in to comment.