Hi all, I’m in the process of migrating a mono-repo of scheduled tasks over to prefect. Does anyone have any deployment patterns they utilize for registration via CLI while maintaining each ‘service’ as an independent docker image with a Dockerfile in each service subdirectory? (Example Below)
Leon Kozlowski
06/09/2021, 9:21 PM
Prefect Version: 0.14.19
Storage Type: Docker
Example Project Structure:
Copy code
services/
service_one/
src/
__init__.py
tasks.py (holds all task definitions)
build.py (holds flow definition via context manager)
deploy.py (holds storage, run config, and schedule)
Dockerfile
service_two/
. (etc)
What I am trying to do is utilize the
prefect register
command to register each flow in the
services/
folder but storing them each independently
Something like:
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.