@Marvin is a way to run a deployment in prefect from command line, and wait until it to completes?
m
Marvin
02/01/2024, 9:15 PM
To run a deployment in Prefect from the command line, you utilize the
prefect deployment apply
command with a YAML file that describes your deployment. This command allows you to create or update the deployment on the server.
As for waiting until the deployment completes, there isn't a built-in command in Prefect to directly await a deployment's completion in the CLI. Typically, you would need to poll the status of the run using the Prefect API or UI to determine when it has completed.
For more details, you may refer to Prefect's documentation or directly interact with their CLI and API to manage and check the status of deployments. If you require further assistance on a more specific command or process, Prefect's community on GitHub or their official documentation would be the next places to look.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.