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

Kaniko: Cancel log streaming when pod fails to complete #3481

Merged
merged 1 commit into from
Jan 9, 2020

Conversation

cedrickring
Copy link
Contributor

@cedrickring cedrickring commented Jan 8, 2020

#3238 basically reverted the changes I did in #2352. @dgageot

Description

Right now if a Kaniko build fails immediately after starting the pod, the user sees no output.

Before

No log output when Kaniko pod fails immediately.

After

Log output when Kaniko pod fails immediately.

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes unit tests
  • Mentions any output changes.
  • Adds documentation as needed: user docs, YAML reference, CLI reference.
  • Adds integration tests if needed.

Reviewer Notes

  • The code flow looks good.
  • Unit test added.
  • User facing changes look good.

@cedrickring cedrickring changed the title Cancel log streaming when pod fails to complete Kaniko: Cancel log streaming when pod fails to complete Jan 8, 2020
@dgageot
Copy link
Contributor

dgageot commented Jan 8, 2020

@cedrickring Sorry for that. There was an issue when the build was timing out.

@codecov
Copy link

codecov bot commented Jan 8, 2020

Codecov Report

Merging #3481 into master will increase coverage by 0.03%.
The diff coverage is 0%.

Impacted Files Coverage Δ
pkg/skaffold/build/cluster/kaniko.go 54.43% <0%> (-0.7%) ⬇️
pkg/skaffold/util/tar.go 57.47% <0%> (+4.59%) ⬆️

@nkubala nkubala added the kokoro:run runs the kokoro jobs on a PR label Jan 8, 2020
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Jan 8, 2020
@tejal29 tejal29 merged commit 570009e into GoogleContainerTools:master Jan 9, 2020
@cedrickring cedrickring deleted the fix-log-streaming branch January 9, 2020 19:04
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.

6 participants