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

[v0.55] libimage: HasDifferentDigest: add InsecureSkipTLSVerify option #1543

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

vrothberg
Copy link
Member

To fix a BZ on auto-updates, we need to improve the system tests. To improve the system tests, we need to use the existing test infrastructure. To use the existing test infrastructure, we need to be able to skip TLS verification in tests. To be able to skip TLS verification in the tests, we need a new --tls-verify flag for podman-auto-update. And for that to work, we need a way to pass that down to libimage when checking if there's a new image on the registry.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2218315

@TomSweeneyRedHat @Luap99 PTAL
Needed to backport containers/podman#19092 to Podman v4.6. I did not bump the version as I also want to backport #1505 (not yet merged) to the v0.55 branch.

To fix a BZ on auto-updates, we need to improve the system tests.
To improve the system tests, we need to use the existing test
infrastructure.  To use the existing test infrastructure, we need
to be able to skip TLS verification in tests.  To be able to skip TLS
verification in the tests, we need a new --tls-verify flag for
podman-auto-update.  And for that to work, we need a way to pass that
down to libimage when checking if there's a new image on the registry.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2218315

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
@vrothberg
Copy link
Member Author

@flouthoc @giuseppe PTAL

Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

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

LGTM
/lgtm
/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 4, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc, vrothberg

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

@openshift-ci openshift-ci bot added the approved label Jul 4, 2023
@openshift-merge-robot openshift-merge-robot merged commit b7b6122 into containers:v0.55 Jul 4, 2023
@vrothberg vrothberg deleted the v0.55-backports branch July 4, 2023 08:03
@TomSweeneyRedHat
Copy link
Member

A bit late, but LGTM too.

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.

4 participants