kestra icon indicating copy to clipboard operation
kestra copied to clipboard

Files imported into Kestra using "git sync" pattern are not browsable in built-in vscode editor

Open bbouretdev opened this issue 10 months ago • 2 comments

I am importing flows and scripts from a git repository to kestra, using a git sync pattern described in this flow yaml definition :

id: sync-subnamespace1 namespace: namespace1.subnamespace1 tasks:

  • id: git-sync type: io.kestra.plugin.git.Sync url: https://github.com/bbouretdev/kestra-poc branch: master gitDirectory: namespace1/subnamespace1 namespaceFilesDirectory: namespace1/subnamespace1

I would expect scripts located into my "namespace1/subnamespace1" git directory to appear in "namespace1/subnamespace1" kestra directory, under "namespace1.subnamespace1" namespace

My git folder tree and the error I get while trying to browse scripts from kestra editor:

image (11) image (12)

Environment

  • Kestra Version: v0.16.1 running on Docker

bbouretdev avatar Apr 22 '24 12:04 bbouretdev

thanks @bbouretdev for the issue, linking this one here for reference https://github.com/kestra-io/plugin-git/issues/56

Ben8t avatar Apr 22 '24 13:04 Ben8t

Hi @bbouretdev 👋 we are working on a new editor that will no longer have that issue, you can already play with it on this branch https://github.com/kestra-io/kestra/pull/3568

anna-geller avatar Apr 25 '24 10:04 anna-geller