feat: add Nuke plugin sync#220
Merged
Merged
Conversation
Signed-off-by: Nathan MacLeod <142927985+npmacl@users.noreply.github.com>
Signed-off-by: Nathan MacLeod <142927985+npmacl@users.noreply.github.com>
Contributor
kenyrish-amazon
left a comment
There was a problem hiding this comment.
Thanks for making the changes to Maya/Blender recipes! Left a few comments
leongdl
previously approved these changes
May 14, 2026
godobyte
reviewed
May 14, 2026
godobyte
reviewed
May 14, 2026
godobyte
reviewed
May 19, 2026
| # Simple Plugin Delivery cleanup for Nuke | ||
| # Unsets env vars. | ||
|
|
||
| unset _SP_PLUGIN_DIR _SP_GENERIC_DIR _SP_PARENT No newline at end of file |
Contributor
There was a problem hiding this comment.
Are these env vars used anywhere?
Contributor
There was a problem hiding this comment.
Not used, and unset at line 61 above. This file is totally optional. I imagine AE being the only one we should clean up.
kenyrish-amazon
approved these changes
May 19, 2026
leongdl
approved these changes
May 20, 2026
leongdl
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was the problem/requirement? (What/Why)
We are working on adding a plugin sync feature, that allows customers to add plugins for the DCCs that will run on deadline cloud workers just by placing the plugins in the correct location in their job attachments bucket.
Also some minor changes in other samples for consistency.
What was the solution? (How)
Copied the existing examples, with some small modifications to be appropriate for nuke. The main change is that the activate script updates NUKE_PATH with the location of the plugin directory (intended to pick up individual .gizmo files), as well as the paths to the init.py files of multi-file plugins.
What is the impact of this change?
sample is updated with the plugin script.
How was this change tested?
Tested with one gizmo and one plugin. For the gizmo I used cp_antialiasing, and for the plugin I used the free version of NNFlowVector.
I installed these locally and created a .nk scene that used both. I tested submitting this to a deadline-cloud SMF farm using the deadline-cloud channel, and got an error related to the plugin being unrecognized.
I then built this sample to my own s3 conda channel, added a queue-environment that set the value of DEADLINE_JA_S3_BUCKET and DEADLINE_JA_ROOT_PREFIX, and uploaded the plugin & gizmo to my job attachment bucket. The directory structure in my bucket was the following:
I then resubmitted the job to my queue, but switched to using my s3 conda channel instead of the deadline-cloud channel. This time the job ran successfully. I downloaded the rendered output and compared it to what I rendered locally, and visually the output matched.
Was this change documented?
yes
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.