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 8d72dd7 commit 6474270
Showing 1 changed file with 21 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,27 @@ kind: WorkflowTemplate
metadata:
name: generic-fetcher-{{ $workflow.name_suffix }}
spec:
entrypoint: dgp-operator-runner.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 }}
}
entrypoint: generic-fetcher
templates:
- name: generic-fetcher
steps:
- - name: call-template
templateRef:
name: dgp-operator-runner
template: 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 }}
}
---
apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
Expand Down

0 comments on commit 6474270

Please sign in to comment.