https://prefect.io logo
Title
j

Jason

04/19/2022, 10:53 PM
What's a good starting area for the local dev story? We're deploying to a production ECS cluster with a decent Github CI/CD so far. Ideally a simple
Makefile
would spin up a few Docker containers that one could test flows on. How can I abstract between a local and ECS agent in my flows to allow something like a
env
var to swap between?
k

Kevin Kho

04/19/2022, 11:00 PM
I think this is a good place to start. Have you seen the thread?
a

Anna Geller

04/19/2022, 11:04 PM
also, for more practical examples, check out https://discourse.prefect.io/tag/ci-cd
🙏 1
j

Jason

04/19/2022, 11:33 PM
I see - I like the approach of dynamically changing the flow and storage: https://discourse.prefect.io/t/how-to-distinguish-between-various-environments-development-staging-production-in-prefect-flows/179. Gracias
👍 1
k

Kevin Kho

04/19/2022, 11:45 PM
You need to register twice cuz those fields are not dynamic in Prefect 1. This is a bit more decoupled in Prefect 2