Is there a way to globally, or maybe per plugin type, configure the deadline submitter to carry specific environment variables, or (maybe even just a set of custom data?) to the render task environment without creating a custom submitter?
background:
I’m working on a system to integrate our pipeline software management setup with deadline job submission. Our pipeline uses a package manager to access centrally installed software.
So far I’ve followed the example in the docs to be able to leverage the GlobalJobPreLoad.py and ModifyCommandLineCallback to have Deadline run a script that configures the environment on the render node before running the task.
But our users have dynamic environments - so I want to grab the list of packages they have loaded at submission time and take data through to the render task.
I can do it by creating a custom submitter and adding some EnvironmentKeyValue# data - but this would be my only modification to submitter, so I would rather not if possible!
Any suggestions for this, or another way to achieve the same result, would be much appreciated!