Krishnan Chandra
08/24/2022, 6:12 PMprefect deployment build
command, but this hasn’t worked:
prefect deployment build \
...
--override path=/app/
Is there a way to override the path setting, or is this something I’d need to modify in the YAML files after generation?Clint M
08/24/2022, 6:32 PMdocker run \
--rm \
-v $(PWD):/workdir/ \
mikefarah/yq:4.27.2 -i '.path = "/home/app/code"' /workdir/deployments/$(DEPLOY_ENV).yaml
prefect deployment build --output deployments/$(DEPLOY_ENV).yaml
yq -i '.path = "/home/app/code"' deployments/$(DEPLOY_ENV).yaml
/home/app/code
the path in my docker imageKrishnan Chandra
08/24/2022, 6:36 PMsed
instead of yq
but your way is definitely cleaner 🙂Clint M
08/24/2022, 6:37 PM