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

[release-1.28] Define and use a safe, reliable test image and bump to v1.28.2 #4433

Merged
merged 3 commits into from Nov 23, 2022

Conversation

flouthoc
Copy link
Collaborator

I thought older buildah and podman v4.3 branch does not accounts for SAFEIMAGE hence I created a simpler retrofit commit here #4428 ( I was wrong ) and it looks like podman's old branch were already expecting #4377.

A note from @edsantiago in podman's v4.3 branch containers/podman@52a6516 clearly mentions that #4377 had to be backported.

Since I missed backporting it before so doing it now and cutting a release.

PR which will use this release: containers/podman#16588

@flouthoc
Copy link
Collaborator Author

@edsantiago Could you please take a look

Copy link
Collaborator

@edsantiago edsantiago left a comment

Choose a reason for hiding this comment

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

Patch LGTM, I diffed against main to make sure. One cleanup request.

Is this expected to be an active branch? If so, would it make sense to backport #4397 also, to get rid of other ubi-related risks?

tests/helpers.bash Outdated Show resolved Hide resolved
@flouthoc
Copy link
Collaborator Author

Is this expected to be an active branch? If so, would it make sense to backport #4397 also, to get rid of other ubi-related risks?

@edsantiago Yes this is active branch. I will also backport #4397 to this PR.

The ubi8 image changed some architecture string yesterday and
broke all our CI on all branches, including podman because
it too runs bud.bats tests.

Solution: use a safe, reliable, trustworthy test image (the
one built and used for podman). Because that image does not
have the same labels, confirm pull using .Architecture
instead.

We should stop using ubi8 and registry.redhat (containers#4318). They
are unreliable. This PR doesn't fix that; it's just an
emergency patch for one specific CI break. We can use
this as a basis for future removals of ubi8.

Signed-off-by: Ed Santiago <santiago@redhat.com>
Signed-off-by: Aditya R <arajan@redhat.com>
First: because we have a bunch of tests that rely on the image
manifest list, and ubi8 is not under our control: we've already
seen where ubi8 gets changed without our knowledge, requiring
almost a week of scrambling to get things fixed again.

Second, the registry it lives on is unreliable.

Signed-off-by: Ed Santiago <santiago@redhat.com>
Signed-off-by: Aditya R <arajan@redhat.com>
@flouthoc flouthoc force-pushed the release-1.28 branch 2 times, most recently from 0f5da31 to a5e3bf3 Compare November 23, 2022 17:47
Signed-off-by: Aditya R <arajan@redhat.com>
Copy link
Collaborator

@edsantiago edsantiago left a comment

Choose a reason for hiding this comment

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

LGTM, thank you

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 23, 2022

[APPROVALNOTIFIER] This PR is APPROVED

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

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

@edsantiago
Copy link
Collaborator

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Nov 23, 2022
@openshift-merge-robot openshift-merge-robot merged commit 6a35b0a into containers:release-1.28 Nov 23, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants