Channels
announcements
ask-marvin
best-practices-coordination-plane
data-ecosystem
data-tricks-and-tips
events
find-a-prefect-job
geo-bay-area
geo-berlin
geo-boston
geo-chicago
geo-colorado
geo-dc
geo-israel
geo-japan
geo-london
geo-nyc
geo-seattle
geo-texas
gratitude
introductions
marvin-in-the-wild
pacc-clearcover-june-12-2023
pacc-may-31-2023
ppcc-may-16-2023
prefect-ai
prefect-aws
prefect-azure
prefect-cloud
prefect-community
prefect-contributors
prefect-dbt
prefect-docker
prefect-gcp
prefect-getting-started
prefect-integrations
prefect-kubernetes
prefect-recipes
prefect-server
prefect-ui
random
show-us-what-you-got
Powered by
Title
d
Denys Volokh
07/21/2022, 9:35 AM
Hi Community! Is there a way to deploy the whole repo and not just 1 flow file with GitHub storage?
✅ 1
a
Anna Geller
07/21/2022, 10:59 AM
No, there is not
d
Denys Volokh
07/21/2022, 11:51 AM
Wait, seriously? I have developed tasks, structured it with own classes, tested on local environment and cannot deploy on server?
Will be possible with Prefect 2.0?
a
Anna Geller
07/21/2022, 12:10 PM
you can package your code into a Docker image or other code artifact, but GitHub storage is only for flow code, not dependencies
d
Denys Volokh
07/21/2022, 12:42 PM
Do you have more information somewhere on docker packaging and registering flow?
a
Anna Geller
07/21/2022, 1:04 PM
yes - for 1.0 you can check out this repo with Dockerfile
https://github.com/anna-geller/packaging-prefect-flows/
there's also this blog post if you're new to Docker
https://medium.com/the-prefect-blog/the-simple-guide-to-productionizing-data-workflows-with-docker-31a5aae67c0a
but if you consider Prefect 2.0, I'll build repository examples and CI/CD recipes within the next weeks and will share on Discourse I understand your pain here, we should provide more guidance on that and I promise we will 👍
👍 1
4 Views
#prefect-community
Join Slack