AcademySoftwareFoundation / OpenCue

A render management system you can deploy for visual effects and animation productions.
https://www.opencue.io
Apache License 2.0
824 stars 197 forks source link

CueSubmit - Allow jobs to specify facilities and allocations #579

Open smith1511 opened 4 years ago

smith1511 commented 4 years ago

Describe the enhancement Allow jobs submitted by CueSubmit to specify facilities and allocations

gregdenton commented 4 years ago

@smith1511 , I've gone ahead and assigned this to you. If you're not working on it, let me know and I'll unassign it. Thanks!

gregdenton commented 4 years ago

I dug a bit deeper into how facility is specified in submission. It turns out that outline.cuerun.get_launch_facility is what is setting the facility when kicking off a job from cuesubmit right now.

get_launch_facility looks for the RENDER_TO or FACILITY environment variables and if not set, looks for a facility set in the outline config file.

If you want to directly pass the facility to pyoutline, you should be able to pass the facility parameter to the Outline definition in cuesubmit.Submission.submitJob. That will update the OutlineLauncher that ultimately get submitted to cuebot.