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

Refactor helm deployer to prepare for helm3 support #3729

Merged
merged 3 commits into from
Feb 26, 2020

Conversation

tstromberg
Copy link
Contributor

@tstromberg tstromberg commented Feb 25, 2020

With any luck, there are no behavioral changes.

  • deployRelease was split into installArgs to reduce complexity. This is important because I am about to add complexity to how installArgs is calculated.
  • Many private functions were inlined. Tests which asserted private behaviors on inlined functions were removed, as they are being moved to public tests.
  • golangci-lint issues addressed.

To prepare for #2142

@tstromberg tstromberg changed the title WIP: Refactor helm deployer to prepare for helm3 support Refactor helm deployer to prepare for helm3 support Feb 25, 2020
@codecov
Copy link

codecov bot commented Feb 25, 2020

Codecov Report

Merging #3729 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted Files Coverage Δ
pkg/skaffold/deploy/helm.go 77.48% <100%> (-0.48%) ⬇️

Copy link
Contributor

@nkubala nkubala left a comment

Choose a reason for hiding this comment

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

a few nits but at first glance I love this

pkg/skaffold/deploy/helm.go Show resolved Hide resolved
pkg/skaffold/deploy/helm.go Outdated Show resolved Hide resolved
pkg/skaffold/deploy/helm.go Outdated Show resolved Hide resolved
pkg/skaffold/deploy/helm.go Outdated Show resolved Hide resolved
@nkubala nkubala merged commit 1fbcb1e into GoogleContainerTools:master Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants