gertjan09/06/2022, 10:20 AM
, it works when I put this in the same directory of the
But what I want is the following:
When I generate the deployments I get:
- deployments: -- deployments.py (file with all my deployments) - flows: -- flow_a.py -- flow_b.py
It has to do with this line
ValueError: '..../updates/flows/flow_a.py' is not in the subpath of '.../updates/deployments' OR one path is relative and the other is absolute.
-> it does not look like I can edit this “path” Anyone has done this before? Is this even possible?
entry_path = Path(flow_file).absolute().relative_to(Path(".").absolute())
Anna Geller09/06/2022, 10:38 AM
gertjan09/06/2022, 10:41 AM
Anna Geller09/06/2022, 10:43 AM
gertjan09/06/2022, 10:47 AM
Anna Geller09/06/2022, 10:51 AM
prefect deployment build --name s3 -q prod -sb s3/prod -v GITHUB_SHA --apply flows/flow1.py:flow1 prefect deployment build --name s3 -q prod -sb s3/prod -v GITHUB_SHA --apply flows/flow2.py:flow2 prefect deployment build --name s3 -q prod -sb s3/prod -v GITHUB_SHA --apply flows/flow3.py:flow3