-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unable to create a deployment with null pull steps #17303
Comments
Assuming you are trying to set no pull steps, you can avoid this by setting |
I did actually try with an empty dictionary and ran into the same issue, I ran through a few different attempts to get the deployment to create, It only worked for me if I passed "something" into the pull steps even just a dummy validation step like this
|
oh sorry I meant |
@masonmenges do you have any details on the use case to create a deployment with no pull steps? I would think that setting no pull steps on a deployment could cause issues down the line. |
It mostly comes up around users who are creating their own docker images with their flow code stored in it and setting their working directories on the image and/or users running a Process Worker, setting it a second time often causes issues with the entrypoints they have defined on their deployments. They can do something like this in those contexts but it's ultimately redundant as they're already defined the working directory in the image or they're running the worker from the root directory they're executing their flows from already.
|
Bug summary
Trying to create a deployment with null pull steps in a prefect yaml file results in a validation error, this doesn't seem to affect the build or push steps.
Error:
Version info
Additional context
example yaml
The text was updated successfully, but these errors were encountered: