CA Lee07/30/2022, 4:46 AM
prefect deployment build
file is overwritten ?
Jeff Hale07/30/2022, 4:55 AM
command now supports an optional output flag to customize the name of the deployment.yaml file, to better support projects with multiple flows” From the 2.01 release notes.
CA Lee07/30/2022, 3:43 PM
prefect deployment build path/to/flow.py:flow_name -n flow_name -t tag
files in the root directory. Running this on multiple flows creates multiple
and `.json`files in the root directory (set of 2 files for each flow). Is it normal to have these files pile up in the root directory or is there a recommended way to organize these deployment files for multiple flows ? Creating a
directory and moving these files to that directory results in:
when attempting to run a flow from the Prefect Cloud UI. Modifying the
FileNotFoundError: [Errno 2] No such file or directory: 'flow-name-manifest.json'
file (below DO NOT EDIT) and subsequently issuing the CLI command
does not work as well.
prefect deployment apply path/to/deployment.yaml
Anna Geller07/30/2022, 7:04 PM
prefect deployment build hi.py:hi --name hi --tag dev --output yourdir/hi.yaml
Oscar Björhn07/30/2022, 7:25 PM
CA Lee07/31/2022, 2:34 AM
and leaving the manifest file in root folder works as expected.