Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
mustafa's comment on deadline plugin and fix the bug of not getting r…
Browse files Browse the repository at this point in the history
…ight env variable
  • Loading branch information
moonyuet committed Sep 21, 2023
1 parent 6ab3f2d commit 7a765bd
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ def get_job_info(self):
if not value:
continue
job_info.EnvironmentKeyValue[key] = value
# to recognize render jobs
job_info.add_render_job_env_var()

return job_info

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def _submit_deadline_post_job(self, instance, job):
self.log.debug("Submitting Deadline publish job ...")

url = "{}/api/jobs".format(self.deadline_url)
response = requests.post(url, json=payload, timeout=10)
response = requests.post(url, json=payload, timeout=10, verify=False)
if not response.ok:
raise Exception(response.text)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,46 @@
}
]
},
{
"type": "dict",
"collapsible": true,
"key": "ProcessSubmittedCacheJobOnFarm",
"label": "ProcessSubmittedCacheJobOnFarm",
"checkbox_key": "enabled",
"is_group": true,
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "text",
"key": "deadline_department",
"label": "Deadline department"
},
{
"type": "text",
"key": "deadline_pool",
"label": "Deadline Pool"
},
{
"type": "text",
"key": "deadline_group",
"label": "Deadline Group"
},
{
"type": "number",
"key": "deadline_chunk_size",
"label": "Deadline Chunk Size"
},
{
"type": "number",
"key": "deadline_priority",
"label": "Deadline Priotity"
}
]
},
{
"type": "dict",
"collapsible": true,
Expand Down

0 comments on commit 7a765bd

Please sign in to comment.