-
Notifications
You must be signed in to change notification settings - Fork 762
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
push: support to specify the compression format #3532
push: support to specify the compression format #3532
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Does this work with every transport? |
I've tested it with |
706d2a3
to
2f8ec4b
Compare
2f8ec4b
to
7fa21cf
Compare
add two new flags to "buildah push" to allow tweaking the compression format for the data layers. The flag --compression-format allows users to specify the compression algorithm to use. With --compression-level it is possible to tweak the compression level. An image usage for partial pulls can be pushed with: $ buildah push --compression-format zstd:chunked FOO Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
7fa21cf
to
1cc85e7
Compare
LGTM |
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.
/lgtm
/hold
Restarted flaked test (handshake timeout)
/hold cancel |
add two new flags to "buildah push" to allow tweaking the compression
format for the data layers.
The flag --compression-format allows users to specify the compression
algorithm to use.
With --compression-level it is possible to tweak the compression
level.
An image usage for partial pulls can be pushed with:
$ buildah push --compression-format zstd:chunked FOO
Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
It allows users to specify the compression for the image data layers.
How to verify it
buildah push --compression-format zstd:chunked FOO dir:/tmp/foo
The files under /tmp/foo are compressed with zstd.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Does this PR introduce a user-facing change?