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

unit tests: use test-specific policy.json and registries.conf #5672

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

nalind
Copy link
Member

@nalind nalind commented Aug 6, 2024

What type of PR is this?

/kind failing-test

What this PR does / why we need it:

In unit tests that create a SystemContext, point that SystemContext at the testing signature policy and registries configuration. This should cause us to pay attention to mirroring settings for images used by this set of tests.

How to verify it

Unit tests should be slightly more reliable.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

@openshift-ci openshift-ci bot added kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. approved labels Aug 6, 2024
@nalind nalind force-pushed the unit-tests-mirrors branch 2 times, most recently from 3c7957d to 43ba8e1 Compare August 6, 2024 20:32
@TomSweeneyRedHat
Copy link
Member

LGTM
and another rebase candidate

@nalind
Copy link
Member Author

nalind commented Aug 8, 2024

Rebased.

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

Copy link
Contributor

openshift-ci bot commented Aug 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc, 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

In unit tests that create a SystemContext, point that SystemContext at
the testing signature policy and registries configuration.  This should
cause us to pay attention to mirroring settings for images used by this
set of tests.

Signed-off-by: Nalin Dahyabhai <[email protected]>
@rhatdan
Copy link
Member

rhatdan commented Aug 9, 2024

/lgtm
@edsantiago Could you help get this REPO off of docker hub. Regularly seeing failures on Docker hub pulls.

@openshift-ci openshift-ci bot added the lgtm label Aug 9, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 94aa41b into containers:main Aug 9, 2024
37 checks passed
@nalind nalind deleted the unit-tests-mirrors branch August 9, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. lgtm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants