-
Notifications
You must be signed in to change notification settings - Fork 27
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
Support for JSON string in defaultImage field for overriding pipeline specific images in the mappings #293
Support for JSON string in defaultImage field for overriding pipeline specific images in the mappings #293
Conversation
08e0bf9
to
ddfb96b
Compare
…line specific images in mappings
3e48a78
to
57b5ef7
Compare
This commit expands the test coverage to ensure more robust behavior and refactors the `overridePipelineImages` function to improve error handling and readability.
57b5ef7
to
aca9cc8
Compare
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.
LGTM as it works, but I suggested some code changes. I'll open a separate branch to share with you to facilitate.
@rickstaa here's a branch with my suggested changes: aca9cc8...vg/update/ai-runner-image-flag-support Keep in mind I only updated |
Thanks will do! |
This commit ensures the tests are compatible with the new image overrides behavoir.
This commit enhances the worker tests by introducing cases to verify the behavior of image overrides.
…des` This commit introduces deprecation logic for the `aiRunnerImage` flag, replacing it with a new `aiRunnerImageOverrides` flag. The new flag is designed to support enhanced image override functionality as implemented in the worker logic in [ai-worker PR livepeer#293](livepeer/ai-worker#293).
…des` This commit introduces deprecation logic for the `aiRunnerImage` flag, replacing it with a new `aiRunnerImageOverrides` flag. The new flag is designed to support enhanced image override functionality as implemented in the worker logic in [ai-worker PR livepeer#293](livepeer/ai-worker#293).
…des` This commit introduces deprecation logic for the `aiRunnerImage` flag, replacing it with a new `aiRunnerImageOverrides` flag. The new flag is designed to support enhanced image override functionality as implemented in the worker logic in [ai-worker PR livepeer#293](livepeer/ai-worker#293).
This commit introduces deprecation logic for the `aiRunnerImage` flag, replacing it with a new `aiRunnerImageOverrides` flag. The new flag is designed to support enhanced image override functionality as implemented in the worker logic in [ai-worker PR #293](livepeer/ai-worker#293). --------- Co-authored-by: Rick Staa <[email protected]>
Towards closing 'livepeer/bounties/#69
This PR adds support for processing JSON string in
defaultImage
and specifies pipeline-specific images as key-value pairs with their mappings being updated to overridecontainerImage
.go-livepeer
PR which it supports is #3284cc @rickstaa