-
Notifications
You must be signed in to change notification settings - Fork 300
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
Fix: Handle overriding of container image in backend #2176
Fix: Handle overriding of container image in backend #2176
Conversation
Tests are failing because an idl upgrade is needed once flyteorg/flyte#4858 is merged. |
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, let's merge flyteidl first.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2176 +/- ##
==========================================
- Coverage 85.86% 84.65% -1.21%
==========================================
Files 314 314
Lines 24042 24048 +6
Branches 3643 3644 +1
==========================================
- Hits 20643 20359 -284
- Misses 2759 3037 +278
- Partials 640 652 +12 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Fabio Grätz <[email protected]>
Signed-off-by: Fabio Grätz <[email protected]>
26be842
to
e68a4e8
Compare
* Handle overriding of container image in backend Signed-off-by: Fabio Grätz <[email protected]> * Adapt tests Signed-off-by: Fabio Grätz <[email protected]> --------- Signed-off-by: Fabio Grätz <[email protected]> Co-authored-by: Fabio Grätz <[email protected]> Signed-off-by: Jan Fiedler <[email protected]>
Tracking issue
flyteorg/flyte#4543
Why are the changes needed?
The
container_image
task node override, among others, is currently broken (doesn't work withpyflyte register
and only once withpyflyte run
, see tracking issue.What changes were proposed in this pull request?
Don't override container image of
run_entity
in.with_overrides
but actually in flyteidl'sTaskNodeOverride
so that the container image is overridden in the backend.How was this patch tested?
In combination with flyteorg/flyte#4858 I ensured that the resulting pod in the cluster has the correct image. I also adapted the unit tests.
Related PRs
flyteorg/flyte#4858
Docs link