-
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
Allow job environment variable to be specified via context or instance #32
Allow job environment variable to be specified via context or instance #32
Conversation
For whatever reason the Celaction submitter has no env vars being published along - none here? @antirotor |
Not sure why at all, this is playground of @jakubjezek001 |
… enhancement/unify_env_var_process # Conflicts: # client/ayon_deadline/plugins/publish/houdini/submit_houdini_cache_deadline.py # client/ayon_deadline/plugins/publish/houdini/submit_houdini_render_deadline.py # client/ayon_deadline/plugins/publish/maya/submit_maya_deadline.py
Preferably not - that's coming from the Nuke submission originally here. I can for now move that to be Nuke-specific but preferably we can remove that completely. @antirotor @jakubjezek001 @moonyuet do you know? For now made it backwards compatible here: 626930a by still submitting it along but only for Nuke submissions. |
I agree with @kalisp as it does not affect the render submission or rendering when I manually removed the environment variable and requeue the job for 3dsmax and maya |
Yes - thanks, it should be fixed with 626930a - can you confirm? Preferably I'd also remove it for Nuke - but I have no clue why it was there before. We can easily remove that in a separate PR to make it a 'clear' change in the changelog. @jakubjezek001 any idea?
Also @jakubjezek001 any ideas about this? I suppose it should get the env vars? If so, I can add it to the submitter if anyone is able to test it. |
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.
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.
Tested with CollectDeadlineNukeJobEnvVars
and without, all works perfect! Lets remove the CollectDeadlineNukeJobEnvVars
and keep this workflow unified with others.
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.
Tested AE, Nuke, Maya, seems fine.
Thanks everyone - only remaining piece is this question. What to do with the Celaction submitter. I suppose I should best just enforce that also passing along the env vars, right? (even if it didn't before?) Is anyone able to test Celaction submissions? |
Isn't this against proposal in ynput/ayon-core#876 ? Just asking... |
I'd say it's actually a first step to that issue. Why do you feel it's "against" it? |
…m/BigRoy/ayon-deadline into enhancement/unify_env_var_process
Because we will need to change all addons to match this structure, if we add more explicit keys for publish and render jobs in future, we will have to define new keys and keep backwards compatibility, and again update all addons. Maybe not directly against, just annoying handling of backwards/forwards compatibility across all addons. |
Changelog Description
Allow job environment variable to be specified via context or instance. This allows specific hosts, or other integrations to alter the behavior of what needs to be submitted along. And also de-duplicates a lot of list of environment variables across the different submitters.
Additional info
Testing notes: