https://prefect.io logo
#prefect-community
Title
# prefect-community
y

Yaron Levi

12/04/2022, 6:57 PM
Hi 👋 We have several deployments running in production (scheduled with a CRON expression). All of those deployments share a common piece of code coming from a .py file. if I update this .py file, I now need to run the “apply” command for each of the .yaml files. For example:
prefect deployment apply jobs/selfServiceDaily.yaml
Are there any shortcuts to apply many yaml files at once?
m

Mason Menges

12/09/2022, 6:23 PM
Hey @Yaron Levi Where is the .py file these deployments reference stored, i.e. how do you have your flow storage configured? in theory if these are all looking for that .py file in the same place you wouldn't need to update each deployment individually
y

Yaron Levi

12/11/2022, 10:48 AM
@Mason Menges Got it 👍
8 Views