-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use AYON prefix in context environment variables #33
Conversation
I've submitted a job with old
While we at it.. could you please add a |
Hopefully fixed.
Will create PR for that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the typo error.
It works on my side with both old jobs and new jobs.
client/ayon_core/modules/deadline/repository/custom/plugins/GlobalJobPreLoad.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Mustafa Taher <[email protected]>
Changelog Description
Environment variables which define context now have
AYON_
prefix.Additional info
Renamed used environment variables.
AVALON_PROJECT
->AYON_PROJECT_NAME
AVALON_ASSET
->AYON_FOLDER_PATH
AVALON_TASK
->AYON_TASK_NAME
AVALON_APP_NAME
->AYON_APP_NAME
AVALON_APP
->AYON_HOST_NAME
AVALON_WORKDIR
->AYON_WORKDIR
AVALON_LAST_WORKFILE
->AYON_LAST_WORKFILE
Added conversion of the keys to farm publishing (to not break old jobs). But jobs from this PR won't work on older ayon-core.
Session data for launcher actions still support
AVALON_*
keys too, so actions from other addons should still work.Testing notes:
Most important test is if this works with old farm jobs.