https://prefect.io logo
#prefect-community
Title
# prefect-community
a

Andreas

07/28/2022, 10:45 AM
Hi all and congrats on the new GA release! I have a question: In latest beta versions we were able to have multiple Deployments specified in a yaml file separated with --- and then by running
prefect deployment create deployments.yaml
we were able to deploy them all at once in Prefect Server. I have seen that there are a lot of changes in GA compared to latest beta and I took a look at the updated docs about it. However I think that some (important to me) functionality is missing compared to what we had in beta. Is there an easy way in the new GA deployments procedure to have multiple flows in a yaml file or an alternative way to deploy multiple flows at once without having to call
prefect deployment build ......
and
prefect deployment apply deployment.yaml
manually for each single flow that we have?
🙏 2
👀 3
🎯 1
2
🙌 2
a

Anna Geller

07/28/2022, 11:40 AM
We're just getting started on what you will be able to do with deployments and with Prefect 2.0 in general! I hear you and I've already directed your request to the product team, it's on our radar to make the deployment manifest work for multiple flows in a project- but thanks for raising that
❤️ 4
c

CA Lee

07/29/2022, 9:10 AM
Anyone else getting stuck when running the command
prefect deployment build
?
Copy code
Version:             2.0.0
API version:         0.8.0
Python version:      3.8.9
Git commit:          29889eb4
Built:               Wed, Jul 27, 2022 12:44 PM
OS/Arch:             linux/x86_64
Profile:             default
Server type:         hosted
Following the guide here and also Anna’s Github repository on deployment guides. There is no further output in the console after the manifest.json file is created (screenshot below):
S3 Bucket has been created as a Block in the Prefect Cloud UI prior to running this command:
prefect deployment build {PATH_TO_FLOW.PY}:{FLOW_NAME} --name dev --tag dev -sb s3/{BUCKET_NAME}
The above command completes if the -sb flag is dropped, indicating an issue with S3 bucket, but no useful errors printed (command just hangs in the terminal and never completes). Is there any way to overcome this ?
a

Anna Geller

07/29/2022, 12:29 PM
looks like you try to upload lots of files - we'll expose a feature soon to allow skipping some files
c

CA Lee

07/29/2022, 12:54 PM
Hey Anna, I was testing a single file
hello.py
, with only 1 flow as well. [/flows/hello.py] Just using example code from https://orion-docs.prefect.io/. Not specifying --storage-block or -sb and the deployment builds successfully
n

Noam Cohen

08/05/2022, 1:36 PM
Same issue with gcs
3 Views