Thread
#prefect-server
    Gian Piero Izzo

    Gian Piero Izzo

    8 months ago
    Hello, I would like to use an open git repository, with no password. I just configure it in this way:
    storage = Git(
        repo="org/repo",
        flow_path="flows/my_flow.py"
    )
    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
    Kevin Kho

    Kevin Kho

    8 months ago
    Yeah that looks right. Is it on GitHub?
    Gian Piero Izzo

    Gian Piero Izzo

    8 months ago
    sorry, I just edited the post above, it was not terminated...
    Kevin Kho

    Kevin Kho

    8 months ago
    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
    Gian Piero Izzo

    Gian Piero Izzo

    8 months ago
    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
    Kevin Kho

    Kevin Kho

    8 months ago
    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
    Gian Piero Izzo

    Gian Piero Izzo

    8 months ago
    ok, I see, so I have to put all the code in a single file ?
    Kevin Kho

    Kevin Kho

    8 months ago
    Or use DockerRun + Github Storage to put the dependencies there
    Or DockerStorage
    Gian Piero Izzo

    Gian Piero Izzo

    8 months ago
    but if I understand correctly, any time I change a file in the module I have to create a new docker image
    Kevin Kho

    Kevin Kho

    8 months ago
    Yes you would have to re-build