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

Simpler code to print Kaniko logs #831

Merged
merged 1 commit into from Jul 23, 2018

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Jul 19, 2018

Also makes it possible to run Kaniko builds in //

Signed-off-by: David Gageot david@gageot.net

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.

Two small comments but otherwise LGTM

return
}

logrus.Debugln("unable to get kaniko pod logs", err)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: logrus.Debugf("unable to get kaniko pod logs: ", err)

for atomic.LoadInt32(&retry) == 1 {
r, err := pods.GetLogs(name, &v1.PodLogOptions{
Follow: true,
Container: "kaniko",
Copy link
Contributor

Choose a reason for hiding this comment

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

where does this name come from? should we make this a constant somewhere?

Also makes it possible to run Kaniko builds in //

Signed-off-by: David Gageot <david@gageot.net>
@dgageot dgageot merged commit cab1022 into GoogleContainerTools:master Jul 23, 2018
@dgageot dgageot deleted the kaniko-logs branch December 28, 2018 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants