adding deadline settings

including Pools
This commit is contained in:
Jakub Jezek 2023-05-17 14:16:49 +02:00
parent f425a2bf2c
commit 0f80ad01ec
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
3 changed files with 56 additions and 6 deletions

View file

@ -38,10 +38,6 @@ class FusionSubmitDeadline(
chunk_size = 1
concurrent_tasks = 1
group = ""
department = ""
limit_groups = {}
env_allowed_keys = []
env_search_replace_values = {}
@classmethod
def get_attribute_defs(cls):
@ -173,8 +169,9 @@ class FusionSubmitDeadline(
# User, as seen in Monitor
"UserName": deadline_user,
# Use a default submission pool for Fusion
"Pool": "fusion",
"Pool": instance.data.get("primaryPool"),
"SecondaryPool": instance.data.get("secondaryPool"),
"Group": self.group,
"Plugin": "Fusion",
"Frames": "{start}-{end}".format(

View file

@ -45,6 +45,15 @@
"chunk_size": 10,
"group": "none"
},
"FusionSubmitDeadline": {
"enabled": true,
"optional": false,
"active": true,
"priority": 50,
"chunk_size": 10,
"concurrent_tasks": 1,
"group": ""
},
"NukeSubmitDeadline": {
"enabled": true,
"optional": false,

View file

@ -248,6 +248,50 @@
}
]
},
{
"type": "dict",
"collapsible": true,
"key": "FusionSubmitDeadline",
"label": "Fusion submit to Deadline",
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "boolean",
"key": "optional",
"label": "Optional"
},
{
"type": "boolean",
"key": "active",
"label": "Active"
},
{
"type": "number",
"key": "priority",
"label": "Priority"
},
{
"type": "number",
"key": "chunk_size",
"label": "Frame per Task"
},
{
"type": "number",
"key": "concurrent_tasks",
"label": "Number of concurrent tasks"
},
{
"type": "text",
"key": "group",
"label": "Group Name"
}
]
},
{
"type": "dict",
"collapsible": true,