Matt Delacour
04/21/2022, 4:42 PMDockerFlowRunner()
for that is unclear
⢠I am guessing that I would need to use tags to glue any logic around our different environments (prod / adhoc). But I don't know if work-queues need to be created "manually" for each new "Repo user" (see diagram)
Also feel free to point me to a tuto explaining all the best practices to deploy Prefect šMatt Delacour
04/21/2022, 4:43 PMNate
04/21/2022, 5:08 PMimage
kwarg to DockerFlowRunner
specifying which image to use for this flow, where you'd then pass your DockerFlowRunner
to a DeploymentSpec
Nate
04/21/2022, 5:14 PMbase_img/
Dockerfile
requirements.txt
ML_img/
Dockerfile (FROM base_img)
requirements.txt
DBT_img/
Dockerfile (FROM base_img)
requirements.txt
some_other_img/
Dockerfile (FROM base_img)
requirements.txt
where a github action builds these docker images and pushes them to ECR or GHCR (or both) on some PR to main, and then you can use the image
path (for whichever registry) in your FlowRunner
instances
Matt Delacour
04/21/2022, 5:46 PMa common pattern I've seen for managing docker images used in flows is a github repo with a structure likeYes it makes sense but that also mean that there is one centralized repository to manage images I am thinking more about
Repo Use Case 1
image/
Dockerfile
poetry.lock
src/
...
Repo Use Case 2
image/
Dockerfile
poetry.lock
src/
...
And so then I need to make sure that those 2 repos will interact properly with Prefect.
Do you have any example using prefect that way ? āļøNate
04/21/2022, 7:25 PMMatt Delacour
04/21/2022, 7:34 PM