ynput / ayon-deadline

Deadline addon for AYON
Apache License 2.0
3 stars 11 forks source link

Configure job environments per job in the instance (e.g. export, render and publish jobs) #44

Open BigRoy opened 1 month ago

BigRoy commented 1 month ago

Is there an existing issue for this?

Please describe the feature you have in mind and explain what the current shortcomings are?

Preferably we expose a simple way to set environment variables for each type of job that may live in an instance or context. Since #32 we now have farm job env vars configurable on the publish context and the instance data - but we may need more granular control targeting different jobs like "render", "export", "publish", etc.

How would you imagine the implementation of the feature?

Define an API that allows to abstract away "jobs" that we can manage (by name or id?) in isolation of each other.

E.g. see description here

Are there any labels you wish to add?

Describe alternatives you've considered:

No response

Additional context:

Relates to https://github.com/ynput/ayon-core/issues/876