Skip to content
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

Integration Test - Remove Support for Helm v2 and Provide Support for Enable/Disable wait while Installing Charts #1612

Merged
merged 10 commits into from
Sep 2, 2022

Conversation

r4rajat
Copy link
Contributor

@r4rajat r4rajat commented Aug 30, 2022

Change Overview

Remove Support for Helm v2 and Provide Support for Enable/Disable --wait while Installing Charts

  • Add wait as an argument in Install Method present in pkg/helm/client.go and pkg/helm/helm.go
  • Add wait=true in apps requiring wait flag while installation

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • πŸ› Bugfix
  • 🌻 Feature
  • πŸ—ΊοΈ Documentation
  • πŸ€– Test

Issues

  • fixes #issue-number

Test Plan

$ make integration-test
running CMD in the containerized build environment
Running integration tests:
/go/src/github.com/kanisterio/kanister/pkg/testing /go/src/github.com/kanisterio/kanister
go: downloading github.com/pkg/errors v0.9.1
go: downloading k8s.io/api v0.24.3
go: downloading github.com/kastenhq/check v0.0.0-20180626002341-0264cfcea734
go: downloading k8s.io/client-go v0.24.3
go: downloading github.com/jpillora/backoff v1.0.0
go: downloading k8s.io/apimachinery v0.24.3
..
..
..
OK: 6 passed
--- PASS: Test (167.00s)
PASS
ok  	github.com/kanisterio/kanister/pkg/testing	167.037s
/go/src/github.com/kanisterio/kanister
  • πŸ’ͺ Manual
  • ⚑ Unit test
  • πŸ’š E2E

- Removed Support for Helm v2
- Added functionality for enabling/disabling --wait flag while helm install

Signed-off-by: Rajat Gupta <rajat.gupta@veeam.com>
- Added functionality for enabling/disabling --wait flag while helm install using wait argument in Install method.
@github-actions
Copy link

Thanks for submitting this pull request πŸŽ‰. The team will review it soon and get back to you.

If you haven't already, please take a moment to review our project contributing guideline and Code of Conduct document.

@infraq infraq added this to In Progress in Kanister Aug 30, 2022
- Added functionality for enabling/disabling --wait flag while helm install using wait argument in Install method.

Signed-off-by: Rajat Gupta <rajat.gupta@veeam.com>
…it' into helm-remove-v2-enable-disable-wait
Signed-off-by: Rajat Gupta <rajat.gupta@veeam.com>
@pavannd1 pavannd1 requested a review from ihcsim August 30, 2022 16:39
@r4rajat
Copy link
Contributor Author

r4rajat commented Sep 1, 2022

ok-to-test

Signed-off-by: Rajat Gupta <rajat.gupta@veeam.com>
…it' into helm-remove-v2-enable-disable-wait
Copy link
Contributor

@akankshakumari393 akankshakumari393 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

pkg/helm/client.go Outdated Show resolved Hide resolved
Copy link
Contributor

@ihcsim ihcsim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks for working on this πŸ‘.

I left a TIOLI comment at pkg/helm/client.go. Feel free to take it or leave it.

Also, I think all the apps should be using NewHelmApp() instead of calling the NewCliClient() directly. But that can be a refactoring for another day.

Kanister automation moved this from In Progress to Reviewer approved Sep 1, 2022
@ihcsim ihcsim changed the title Remove Support for Helm v2 and Provide Support for Enable/Disable wait while Installing Charts Integration Test - Remove Support for Helm v2 and Provide Support for Enable/Disable wait while Installing Charts Sep 1, 2022
Signed-off-by: Rajat Gupta <rajat.gupta@veeam.com>
@r4rajat r4rajat self-assigned this Sep 2, 2022
@r4rajat r4rajat added the kueue label Sep 2, 2022
@mergify mergify bot merged commit a9da673 into master Sep 2, 2022
Kanister automation moved this from Reviewer approved to Done Sep 2, 2022
@mergify mergify bot deleted the helm-remove-v2-enable-disable-wait branch September 2, 2022 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants