-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Compress docker artifacts with gzip #9223
Conversation
dev-tools/mage/dockerbuilder.go
Outdated
if err := sh.Run("docker", "save", "-o", outputFile, tag); err != nil { | ||
var stderr bytes.Buffer | ||
cmd := exec.Command("docker", "save", tag) | ||
cmd.Stderr = bufio.NewWriter(&stderr) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why wrap a bytes.Buffer into bufio.NewWriter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, this is not needed, removed.
jenkins, test this again |
Updated branch with master to skip flaky tests (#9217) |
Thanks both for the reviews! |
(cherry picked from commit 675f2b0)
…uilding packages (#9433) Include generation of docker images in the process of building the rest of released packages by extending `mage package`. (#8898) (cherry picked from commit 9294384) Tag container images with snapshot information (#9063) (cherry picked from commit 1dd4fbf) * Compress docker artifacts with gzip (#9223) (cherry picked from commit 675f2b0) Co-authored-by: Gil Raphaelli <[email protected]>
… docker images when building packages (elastic#9433) Include generation of docker images in the process of building the rest of released packages by extending `mage package`. (elastic#8898) (cherry picked from commit 9294384) Tag container images with snapshot information (elastic#9063) (cherry picked from commit 1dd4fbf) * Compress docker artifacts with gzip (elastic#9223) (cherry picked from commit 675f2b0) Co-authored-by: Gil Raphaelli <[email protected]>
… docker images when building packages (elastic#9433) Include generation of docker images in the process of building the rest of released packages by extending `mage package`. (elastic#8898) (cherry picked from commit 9294384) Tag container images with snapshot information (elastic#9063) (cherry picked from commit 1dd4fbf) * Compress docker artifacts with gzip (elastic#9223) (cherry picked from commit 675f2b0) Co-authored-by: Gil Raphaelli <[email protected]>
No description provided.