RoyalRender: environment injection on the server
Changelog Description
Previously env vars were injected directly on the client during submission. That could have issues when environment on client machines is different than on workers.
This PR tries similar approach as on DL when before job is rendered it queries Ayon to get environment variables for context.
These variables are used to create .rrEnv file and attach it to the job. That should provide rendering environment controlled by Ayon.
Additional info
It expects installed Ayon on worker machines with these env vars (for now):
- AYON_SERVER_URL
- AYON_API_KEY
- AYON_EXECUTABLE_PATH - path to
ayon_consoleon the worker(s) - should be parsed from renderApps config in the future
Expects redeployment of RR plugins from openpype/modules/royalrender/rr_root to RR_ROOT
Task linked: OP-7687 Environments in RoyalRender
Currently blocked as required methods from SDK are not available with Demo licenses.
This is currently implemented and (hopefully) working solution.