OP-2518 - added group and department to submission to DL

Group is used to filter on which machines it should be rendered.
This commit is contained in:
Petr Kalis 2022-02-11 11:52:55 +01:00
parent 697bc11036
commit 1a1c65c912

View file

@ -248,6 +248,8 @@ class HarmonySubmitDeadline(
secondary_pool = ""
priority = 50
chunk_size = 1000000
group = "none"
department = ""
def get_job_info(self):
job_info = DeadlineJobInfo("Harmony")
@ -264,6 +266,8 @@ class HarmonySubmitDeadline(
job_info.SecondaryPool = self.secondary_pool
job_info.ChunkSize = self.chunk_size
job_info.BatchName = os.path.basename(self._instance.data["source"])
job_info.Department = self.department
job_info.Group = self.group
keys = [
"FTRACK_API_KEY",