Skip to content

Commit

Permalink
Fix deadline job env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
jlorrain authored and ClementHector committed Feb 7, 2022
1 parent 7c62741 commit 7ab8c50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def process(self, instance):
"FTRACK_API_KEY",
"FTRACK_API_USER",
"FTRACK_SERVER",
"OPENPYPE_SG_USER"
"OPENPYPE_SG_USER",
"AVALON_PROJECT",
"AVALON_ASSET",
"AVALON_TASK",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,11 @@ def _submit_deadline_post_job(self, instance, job, instances):
environment["AVALON_APP_NAME"] = os.environ.get("AVALON_APP_NAME")
environment["OPENPYPE_LOG_NO_COLORS"] = "1"
environment["OPENPYPE_USERNAME"] = instance.context.data["user"]
environment["OPENPYPE_SG_USER"] = os.getenv("OPENPYPE_SG_USER")
environment["OPENPYPE_PUBLISH_JOB"] = "1"
environment["OPENPYPE_RENDER_JOB"] = "0"


args = [
'publish',
roothless_metadata_path,
Expand Down

0 comments on commit 7ab8c50

Please sign in to comment.