Jacob Bedard
02/23/2023, 6:15 PMredsquare
02/23/2023, 7:06 PMJacob Bedard
02/23/2023, 7:11 PMredsquare
02/23/2023, 7:13 PMNate
02/23/2023, 7:14 PMentrypoint
(i.e. localfile.py:flow_decorated_fn
)
◦ where should this flow get uploaded (and pulled from at runtime)? you answer with a storage block (e.g. s3/mybucket/mysubpath
)
◦ how should this flow run? you answer with an infra block (e.g. kubernetes-job/my-k8s-job
)
• code is uploaded to location specified by your storage block (if possible) when you run prefect deployment build ...
(and incorporate the info above)Jacob Bedard
02/23/2023, 7:15 PMredsquare
02/23/2023, 7:15 PMJacob Bedard
02/23/2023, 7:16 PMBianca Hoch
02/23/2023, 7:16 PMJacob Bedard
02/23/2023, 7:16 PMNate
02/23/2023, 7:20 PMgithub
flavor of flow storage because then you don't actually need to upload your flow code with prefect deployment build
(itll just skip upload automatically) since your deployment will just pull from the repo/ref you specify when its time to run - just less to think about in my opinion and it leverages the fact im using git version control anywayJacob Bedard
02/23/2023, 7:23 PMNate
02/23/2023, 7:25 PMgitlab-repository
block in your workspace block catalog that works the same way for gitlabJacob Bedard
02/23/2023, 7:25 PM