The problem is that the docker agent is not able to get the repository, it gives the error:
Failed to load and execute Flow's environment: NotGitRepository('No git repository was found at https://@github.com/org/repo.git')
is there any way to avoid this "@" ?
Thanks in advance
k
Kevin Kho
01/20/2022, 4:23 PM
Yeah that looks right. Is it on GitHub?
g
Gian Piero Izzo
01/20/2022, 4:25 PM
sorry, I just edited the post above, it was not terminated...
k
Kevin Kho
01/20/2022, 4:28 PM
Ah I see what you mean. I think you need to open an issue for this because the format assumes some authentication here. If this is on Github though, you can use Github storage with a public repo and it should work
g
Gian Piero Izzo
01/20/2022, 4:30 PM
unfortunately I wanted the flow to use some modules inside the repository, if I am correct GitHub storage picks only the flow file, not the full repo
k
Kevin Kho
01/20/2022, 4:32 PM
Git storage is not intended for using modules as well. It’s meant to pick up stuff like
.yaml
and
.sql
but modules won’t work because of path issues
g
Gian Piero Izzo
01/20/2022, 4:35 PM
ok, I see, so I have to put all the code in a single file ?
k
Kevin Kho
01/20/2022, 4:37 PM
Or use DockerRun + Github Storage to put the dependencies there
Kevin Kho
01/20/2022, 4:40 PM
Or DockerStorage
g
Gian Piero Izzo
01/20/2022, 4:43 PM
but if I understand correctly, any time I change a file in the module I have to create a new docker image
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.