This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
Enhancement: Add version number to GlobalJobPreload and validate it #5919
Labels
module: Deadline
AWS Deadline related features
type: enhancement
Enhancements to existing functionality
Is there an existing issue for this?
Please describe the feature you have in mind and explain what the current shortcomings are?
There is no way how to know that
GlobalJobPreload
(or any DL plugin) needs to be redeployed because of change.This might potentially lead to unnecessary errors because content of DL repo is outdated.
How would you imagine the implementation of the feature?
New
version.py
should be created inOP_REPO/modules/deadline/repository
(to have more granular multipleversion.py
per plugin ANDGlobalJobPreload
seems overkill),This value should be passed to publish job as a environment variable (`OPENPYPE_DL_REPO_VERSION) and new validator should be created to compare value from local file against it. (In similar fashion as PS does.).
Adding this as env var seems to be simplest as adding it to
extractenvironment
would result in change of cli signature. We already have some logic triggered for publish job currently, so it could be added there.Are there any labels you wish to add?
Describe alternatives you've considered:
No response
Additional context:
No response
[cuID:OP-7414]
The text was updated successfully, but these errors were encountered: