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

Improve helm deployer #2772

Merged
merged 5 commits into from
Sep 1, 2019
Merged

Improve helm deployer #2772

merged 5 commits into from
Sep 1, 2019

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Aug 30, 2019

  • Cleanup/Simplify code
  • Simplify samples
  • Add sync to one of the samples
  • Fix all issues related to improper tags/digests (to be verified)
  • Streamline logs

@codecov
Copy link

codecov bot commented Aug 30, 2019

Codecov Report

Merging #2772 into master will increase coverage by 0.16%.
The diff coverage is 52.94%.

Impacted Files Coverage Δ
pkg/skaffold/deploy/labels.go 15.85% <0%> (-1.03%) ⬇️
pkg/skaffold/deploy/helm.go 73.57% <76.59%> (+7.03%) ⬆️

@@ -302,71 +299,64 @@ func (h *HelmDeployer) deployRelease(ctx context.Context, out io.Writer, r lates
if len(r.SetValueTemplates) != 0 {
envMap := map[string]string{}
for idx, b := range builds {
m := createEnvVarMap(b.ImageName, b.Tag)
Copy link
Contributor

@balopat balopat Aug 31, 2019

Choose a reason for hiding this comment

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

Why do we even need this variable? We could just inline it, right?

Copy link
Contributor

@balopat balopat left a comment

Choose a reason for hiding this comment

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

Lgtm, one nit

Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
@dgageot dgageot merged commit 4899ae5 into GoogleContainerTools:master Sep 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants