Join Slack
Powered by
Hi Community! Is there a way to deploy the whole r...
# ask-community
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?
Denys Volokh
07/21/2022, 11:52 AM
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/
Anna Geller
07/21/2022, 1:05 PM
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
Anna Geller
07/21/2022, 1:06 PM
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
6
Views
Open in Slack
Previous
Next