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

Compress docker artifacts with gzip #9223

Merged
merged 5 commits into from
Nov 26, 2018
Merged

Conversation

jsoriano
Copy link
Member

No description provided.

@jsoriano jsoriano assigned urso and graphaelli and unassigned urso and graphaelli Nov 23, 2018
@jsoriano jsoriano requested review from urso and graphaelli November 23, 2018 18:35
dev-tools/mage/dockerbuilder.go Outdated Show resolved Hide resolved
dev-tools/mage/dockerbuilder.go Show resolved Hide resolved
dev-tools/packaging/package_test.go Outdated Show resolved Hide resolved
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)
Copy link

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?

Copy link
Member Author

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.

@jsoriano
Copy link
Member Author

jenkins, test this again

@jsoriano
Copy link
Member Author

Updated branch with master to skip flaky tests (#9217)

@jsoriano
Copy link
Member Author

Thanks both for the reviews!

@jsoriano jsoriano merged commit 675f2b0 into elastic:master Nov 26, 2018
@jsoriano jsoriano deleted the zip-docker-tars branch November 26, 2018 20:37
jsoriano added a commit to jsoriano/beats that referenced this pull request Dec 7, 2018
jsoriano added a commit that referenced this pull request Dec 8, 2018
…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]>
jsoriano added a commit to jsoriano/beats that referenced this pull request Feb 27, 2019
… 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]>
DStape pushed a commit to DStape/beats that referenced this pull request Aug 20, 2019
… 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]>
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