Skip to content

Commit

Permalink
set 'AYON_DEFAULT_SETTINGS_VARIANT' in collect job env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Feb 7, 2025
1 parent 6e63e24 commit 4201867
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ class CollectDeadlineJobEnvVars(pyblish.api.ContextPlugin):

# Not sure how this is usefull for farm, scared to remove
"PYBLISHPLUGINPATH",

# NOTE still required by GlobalPreLoadJob.py, but might not be set by
# ayon-core anymore
"AYON_DEFAULT_SETTINGS_VARIANT",
]

def process(self, context):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,6 @@ def _submit_deadline_post_job(
# TODO remove settings variant handling when not needed anymore
# which should be when package.py defines 'core>1.1.1' .
settings_variant = os.environ["AYON_DEFAULT_SETTINGS_VARIANT"]
# NOTE still required by GlobalPreLoadJob.py, but might not be set by
# ayon-core anymore
environment["AYON_DEFAULT_SETTINGS_VARIANT"] = settings_variant
if settings_variant == "staging":
args.append("--use-staging")
elif settings_variant != "production":
Expand Down

0 comments on commit 4201867

Please sign in to comment.