kestra-io / kestra

:zap: Workflow Automation Platform. Orchestrate & Schedule code in any language, run anywhere, 500+ plugins. Alternative to Zapier, Rundeck, Camunda, Airflow...
https://kestra.io
Apache License 2.0
13.24k stars 1.15k forks source link

Adjust the import functionality to accept zipped `.yaml` files (rather than only `.yml`) #6042

Open anna-geller opened 4 days ago

anna-geller commented 4 days ago

Describe the issue

It seems that current export/import functionality relies on files being .yml — trying to import a zip file of flows with .yaml extension gives error:

At yaml: special characters are not allowed at [Source: (StringReader); line: 1, column: 1] Caused by: special characters are not allowed

image

Environment

kratosmy commented 3 days ago

I tried with some .yaml files archived to a .zip but no error is found. Could you provide the test file?

Skraye commented 4 hours ago

The real issue is that Mac compression add some meta files that will be handled by Kestra and throw an error : image