You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some users want to extract some information from the kestra instance without interacting directly with the API, e.g. to:
fetch all flows
fetch all namespaces
download all flows, and all versions of specific flows.
Proposed Solution
We may provide dedicated core tasks for that:
ListFlows
ListNamespaces
DownloadFlows
Proposed syntax
ListNamespaces:
id: export_flowsnamespace: devtasks:
- id: listtype: io.kestra.plugin.core.namespace.ListNamespaces childNamespaces: true # true by default — whether to include flows from child namespaces# outputs a list of strings
ListFlows:
id: list_flowsnamespace: devtasks:
- id: list_flowstype: io.kestra.plugin.core.namespace.ListFlows namespace: dev # only fetched from the current namespace by defaultchildNamespaces: true # true by default — whether to include flows from child namespaces# outputs a list of strings
DownloadFlows:
id: export_flowsnamespace: devtasks:
- id: exporttype: io.kestra.plugin.core.namespace.DownloadFlows namespace: dev # only fetched from the current namespace by defaultchildNamespaces: true # true by default — whether to include flows from child namespacespastRevisions: false # false by default — whether to include past revisions of each flow# outputs ION with columns: namespace, flowId, revision, content. 1 row per flow
anna-geller
changed the title
Add generic tasks to list flows or namespaces and to download flows
Add generic tasks to list flows or namespaces and to download/upload flows (ideally also across tenants)
Aug 29, 2024
Problem
Some users want to extract some information from the kestra instance without interacting directly with the API, e.g. to:
Proposed Solution
We may provide dedicated core tasks for that:
Proposed syntax
ListNamespaces:
ListFlows:
DownloadFlows:
Workaround until then
The text was updated successfully, but these errors were encountered: