https://prefect.io logo
#prefect-community
Title
# prefect-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?
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/
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