Zach12/01/2020, 9:38 PM
Jim Crist-Harif12/01/2020, 9:40 PM
Zach12/01/2020, 9:46 PM
. For storage I am using
, I am not sure what you mean by run_config, I am using the
if that is what you mean, but I don't think it is.
Jim Crist-Harif12/01/2020, 9:47 PM
(see https://docs.prefect.io/orchestration/flow_config/overview.html) - these will replace environments (after a long deprecation cycle).
storage building. This is less a question about how to configure prefect, and more a question about how to speedup docker storage builds. A few tips: • If you have lots of custom dependencies, you might build a custom base image used by all your flows, and set this as
. Then your flow build would only need to add the flow source to the image before registering. • Alternatively you might use a different storage type (
, ...) for hosting your flow source, and configure a static image on your flow separately. To do that using the legacy environment-based system you'd set
). If you're using a
flow.environment.metadata["image"] = "your-image-name"
run-config, this would just be the
parameter to that object.