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 92c3407 commit fdead55
Showing 1 changed file with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ metadata:
spec:
schedule: "0 0 1 * *"
concurrencyPolicy: Forbid
entrypoint: dgp-operator-runner
workflowTemplateRef:
name: dgp-operator-runner
arguments:
parameters:
- name: operator
value: generic_fetcher
- name: config_json
value: |
{
"source_url": {{ $workflow.source_url | quote }},
"target_instance_name": {{ $instance | upper | quote }},
"target_package_id": {{ $workflow.target_package_id | quote }},
"target_organization_id": {{ $organization | quote }},
"source_filter": {{ $workflow.source_filter | toJson }}
}
workflowSpec:
workflowTemplateRef:
name: dgp-operator-runner
arguments:
parameters:
- name: operator
value: generic_fetcher
- name: config_json
value: |
{
"source_url": {{ $workflow.source_url | quote }},
"target_instance_name": {{ $instance | upper | quote }},
"target_package_id": {{ $workflow.target_package_id | quote }},
"target_organization_id": {{ $organization | quote }},
"source_filter": {{ $workflow.source_filter | toJson }}
}
------
{{- end }}
{{- end }}
Expand Down

0 comments on commit fdead55

Please sign in to comment.