Samuel Hinton
04/02/2024, 3:13 AMDeployment.build_from_flow
to flow.deploy
. Is flow.deploy feature complete? I'm not see how I can specify the flow files are stored in s3 like I can with storage=s3_block
in build_from_flow
. Is this method of storing flow code deprecated or no longer supported?Samuel Hinton
04/02/2024, 9:38 AMprefect.runner.storage.RemoteStorage
that you can pull down code, but it doesn't look like there's an analogous upload
or similar function like the upload
flag on Deployment.build_from_flow
Jeff Hale
04/02/2024, 12:13 PMSamuel Hinton
04/02/2024, 12:16 PMJeff Hale
04/02/2024, 4:43 PM.deploy
. We’ve found that most folks would rather handle their pushing of code as a discrete action outside of the deployment creation - e.g. in their CI/CD process.
You can create an S3Bucket block and use it’s put_directory
method to quickly upload your code. Docs here.