Prefect v2.0.b16 Release Notes
-
๐ Simplified, declarative deployments
๐ Prefect 2.0's deployments are a powerful way to encapsulate a flow, its required infrastructure, its schedule, its parameters, and more. Now, you can create deployments simply, with just two commands:
prefect deployment build ./path/to/flow/file.py:name_of_flow_obj --name "Deployment Name"
produces two files:- A manifest file, containing workflow-specific information such as the code location, the name of the entrypoint flow, and flow parameters
- A
deployment.yaml
file - a complete specification of the metadata and configuration for the deployment such as the name, tags, and description ๐ 3.prefect deployment apply ./deployment.yaml
creates or updates a deployment with the Orion server
๐ Once the deployment is created with the Orion server, it can now be edited via the UI! See the Deployments documentation to learn more.
๐ Improvements and bug fixes
- โก๏ธ The Dask and Ray tutorials have been updated to reflect recent changes
- โก๏ธ The Blocks concept doc has been updated to reflect recent enhancements and includes additional examples
- โก๏ธ The Storage concept doc has been updated to reflect recent enhancements
- โฑ All IntervalSchedules now require both an anchor date and a timezone
- The new S3 file system block enables you to read and write data as a file on Amazon S3
- The new GCS file system block allows you to read and write data as a file on Google Cloud Storage