Mark McDonald
10/24/2019, 8:15 PMdependencies
2. Installs these dependencies on my docker image
3. Builds prefect docker storage object:
storage = Docker(registry_url=os.getenv('PREFECT_ECR_REGISTRY'), image_name=os.getenv('PREFECT_ECR_IMAGE_NAME'),
image_tag=package_version, python_dependencies=dependencies)
4. script imports each of my flow files and locates the flow objects within them. These flows get added to the storage object
5. calls storage.build
6. iterates through the flows and calls flow.deploy() on each flow object with build set to False
As it stands the deployment takes ~5 minutes. Any areas where I might be able to improve this?Chris White
10/24/2019, 8:51 PMMark McDonald
10/24/2019, 9:23 PM