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

Skaffold build output #606

Merged
merged 3 commits into from
May 30, 2018

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented May 28, 2018

add --output and --quiet to skaffold build

Fixes #604

dgageot added 3 commits May 28, 2018 10:19
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
@@ -53,14 +67,19 @@ func build(out io.Writer, filename string) error {
return errors.Wrap(err, "creating runner")
}

bRes, err := runner.Build(ctx, out, runner.Tagger, config.Build.Artifacts)
buildOut := out
if quietFlag {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can set this at the root level and quiet all commands by setting out = ioutil.Discard

@dgageot dgageot merged commit c737218 into GoogleContainerTools:master May 30, 2018
@dgageot dgageot deleted the akaffold-build-output branch June 6, 2018 06:51
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.

2 participants