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

libimage: HasDifferentDigest: add InsecureSkipTLSVerify option #1538

Merged
merged 1 commit into from
Jul 3, 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

@vrothberg
Copy link
Member Author

Already working locally in my branch. Feel free to merge at will or wait for me to spin up the PR in Podman first.

@Luap99
Copy link
Member

Luap99 commented Jun 30, 2023

Tests are failing

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>
Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

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

LGTM

@vrothberg
Copy link
Member Author

@giuseppe @flouthoc 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

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 3, 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

@vrothberg
Copy link
Member Author

merge me please

@Luap99
Copy link
Member

Luap99 commented Jul 3, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jul 3, 2023
@openshift-merge-robot openshift-merge-robot merged commit 0ab70cf into containers:main Jul 3, 2023
7 checks passed
@vrothberg vrothberg deleted the bz-2218315 branch July 3, 2023 09:00
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.

None yet

4 participants