Hi, I don’t want to separate my Dagster deployment...
# ask-community
n
Hi, I don’t want to separate my Dagster deployment into 2 instances (dev + prod). Is there an alternative way to run a job on Dagit with specifying something like “run mode” to tell Dagit which deployment environment to run? Or should I split a job into 2 jobs like job_dev, job_prod (2 docker images)? Or any suggestion, thanks.
e
I'm thinking of using workspace.yaml to separate your environments. PS: dagster team might have a better solution for this
s
using separate code locations (with separate jobs) sounds like a good approach to me. using separate jobs in the same code location would also work
n
Thanks you both of you 🙏