-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Deployments): support Job Variables #250
feat(Deployments): support Job Variables #250
Conversation
This is great, thanks for your contribution @felixpelletier! Will take a look 👍🏼 |
The 'env' key is "the only job variable that is configurable for all work pool types" (https://docs.prefect.io/latest/guides/deployment/overriding-job-variables/) so let's use that as the example and as the test to confirm it works as expected.
Hi @felixpelletier, I pushed one small change 309ab47. I found that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks again @felixpelletier 🎉
- New field added in correct places
- Tests added and passing
- Docs updated
Will approve and hand to @parkedwards for a final lookover since I ended up pushing a couple small changes.
Summary
Supports setting Job Variables on Deployment resources.
Related to #238
Note: I'm a Go newbie, but I mainly just followed the very similar PR here: #245
Testing
I ran the unit tests, but I don't have an appropriate setup to run the acceptance tests.
If someone could help with that, I'd be very grateful 😉