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

helm chart packaging: improve errors, logic & testability #3743

Merged
merged 4 commits into from
Feb 27, 2020

Conversation

tstromberg
Copy link
Contributor

@tstromberg tstromberg commented Feb 27, 2020

Cleaning up some technical debt encountered while adding helm3 support.

These unexpected behaviors were revealed by tests that I unexpectedly broke while working on #3738

@codecov
Copy link

codecov bot commented Feb 27, 2020

Codecov Report

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

Impacted Files Coverage Δ
cmd/skaffold/app/cmd/flags.go 100% <ø> (ø) ⬆️
pkg/skaffold/deploy/helm.go 74.65% <100%> (-0.18%) ⬇️

@tstromberg tstromberg changed the title helm packageChart: improve error messages, simplify logic helm packageChart: improve errors, logic & testability Feb 27, 2020
@pull-request-size pull-request-size bot added size/M and removed size/S labels Feb 27, 2020
@tstromberg tstromberg changed the title helm packageChart: improve errors, logic & testability helm chart packaging: improve error msgs, logic & testability Feb 27, 2020
@tstromberg tstromberg changed the title helm chart packaging: improve error msgs, logic & testability helm chart packaging: improve errors, logic & testability Feb 27, 2020
@tstromberg
Copy link
Contributor Author

kokoro build failure appears to be a flake:

--- FAIL: TestBuildKanikoInsecureRegistry (67.97s)
...
   INFO[0018] Pushing layer 34.69.100.214:5000/kaniko-insecure/cache:bd5ba88067551119d57eb4ced79318e89aed0d80f54293d05bbca165803ae85f to cache now
        error pushing image: failed to push to destination 34.69.100.214:5000/kaniko-insecure:v1.4.0-45-g3f1fe5c: Head http://34.69.100.214:5000/v2/kaniko-insecure/blobs/sha256:437381f67cba8baf2942ec60087a0339197802dc784b297391aa2182ef19fcbd: dial tcp 34.69.100.214:5000: connect: connection reset by peer
    panic.go:563: time="2020-02-27T17:26:01Z" level=fatal msg="build failed: building [kaniko-insecure]: waiting for pod to complete: condition error: pod already in terminal phase: Failed"

It seems like skaffold may not be trying to retry kaniko pushes :(

@nkubala nkubala merged commit befffb8 into GoogleContainerTools:master Feb 27, 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.

3 participants