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

Disable partial pulls (zstd:chunked) by default #2156

Merged

Conversation

nalind
Copy link
Member

@nalind nalind commented Oct 30, 2024

Disable partial pulls by default.
Add a helper command to print the library configuration after parsing everything which may be useful for diagnostic purposes.
Update the apply-diff-from-staging-directory integration test to call the test helper binary directly, so that the configuration file the test writes won't have its settings overridden by command line options that the storage() test helper function adds.

Resolves https://issues.redhat.com/browse/RUN-2335

@cgwalters cgwalters changed the title Disable partial pulls by default Disable partial pulls (zstd:chunked) by default Oct 31, 2024
@kwilczynski
Copy link
Member

/approve
/lgtm

Copy link
Contributor

openshift-ci bot commented Oct 31, 2024

@kwilczynski: changing LGTM is restricted to collaborators

In response to this:

/approve
/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link
Contributor

openshift-ci bot commented Oct 31, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, kwilczynski, nalind

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nalind
Copy link
Member Author

nalind commented Oct 31, 2024

/hold

@nalind
Copy link
Member Author

nalind commented Oct 31, 2024

/unhold

@nalind nalind force-pushed the config-disable-partial-pull branch 2 times, most recently from 128faee to b4f7a86 Compare November 4, 2024 14:54
Disable the storage.options.pull_options.enable_partial_images option by
default, so that it will have to be explicitly enabled in order to be
used.

Update the apply-diff-from-staging-directory integration test to call
the test helper binary directly, so that the configuration file the test
writes won't have its settings overridden by command line options that
the storage() test helper function adds.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
@nalind nalind force-pushed the config-disable-partial-pull branch from b4f7a86 to 435aa93 Compare November 4, 2024 18:52
Copy link
Collaborator

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

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

LGTM. (This will need to be undone in the various test PRs.)

@giuseppe FYI

@rhatdan
Copy link
Member

rhatdan commented Nov 4, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Nov 4, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit ad5f2a4 into containers:main Nov 4, 2024
20 checks passed
@nalind nalind deleted the config-disable-partial-pull branch November 4, 2024 20:36
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.

5 participants