-
Notifications
You must be signed in to change notification settings - Fork 180
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
refactor: use helm lib instead of helm binary #1207
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
// 1. Handle legacy training job | ||
err := helm.DeleteRelease(jobName) | ||
if err == nil { | ||
log.Infof("Delete the job %s successfully.", jobName) | ||
return nil | ||
} | ||
log.Debugf("%s wasn't deleted by helm due to %v", jobName, err) |
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.
Remove this for helm.DeleteRelease
is out of date and will always return non-nil error.
Signed-off-by: Yi Chen <github@chenyicn.net>
Thanks for great contributions. @ChenYi015 I suggest building robust e2e testing first before refactoring the current implementation. |
Purpose of this PR
Proposed changes:
arena-helm
anymore.Change Category
Additional Context
helm
will still be packaged into arena-installer, as the install.sh will rename it toarena-helm
.arena-helm
will only be used to install arena artifacts to k8s e.g. CRDs and various operators.