-
Notifications
You must be signed in to change notification settings - Fork 786
Retrieve JobSetSpec from runtime.Info in CustomValidations #2557
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
Retrieve JobSetSpec from runtime.Info in CustomValidations #2557
Conversation
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
/assign @kubeflow/wg-training-leads @astefanutti |
Pull Request Test Coverage Report for Build 13991876613Details
💛 - Coveralls |
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
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.
@tenzen-y Thanks for this. LGTM!
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akshaychitneni, Electronic-Waste, tenzen-y The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@Electronic-Waste Could you also review this PR #2551 |
What this PR does / why we need it:
Instead of directly passing the JobSet object to
CustomValidation
, we can retrieve the JobSetSpec ApplyConfigurations fromruntime.Info
, and then could use it while validations.trainer/pkg/runtime/runtime.go
Lines 205 to 208 in 8aa97a4
Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...
format, will close the issue(s) when PR gets merged):Fixes #
Checklist: