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

CI: Support testing w/ podman-next COPR packages #4830

Merged
merged 1 commit into from Jun 5, 2023

Conversation

cevich
Copy link
Member

@cevich cevich commented May 30, 2023

What type of PR is this?

/kind other

What this PR does / why we need it:

Sometimes important updates need to be made to dependent packages and
run through CI w/o waiting for package release and new CI VM image
builds. Support this in buildah CI as in podman CI, by updating
packages during setup when the magic string is present and PR is in
draft-mode.

Note: To support containerized testing, both CIRRUS_CHANGE_TITLE
and CIRRUS_PR_DRAFT env. vars. are passed through. For these tasks,
this will result in TWO updates - One for the host, and another one
in the container.

How to verify it

CI will pass with and without magic keyword in title.

Which issue(s) this PR fixes:

Special notes for your reviewer:

CI Run when [CI:NEXT] was in the PR title. I believe the handful of SELinux related test failures are a known issue.

Does this PR introduce a user-facing change?

None

@cevich cevich force-pushed the ci_next branch 3 times, most recently from 7c9f045 to f64785e Compare May 31, 2023 13:31
@cevich cevich changed the title [CI:NEXT] CI: Support testing w/ podman-next COPR packages CI: Support testing w/ podman-next COPR packages May 31, 2023
@cevich cevich marked this pull request as ready for review May 31, 2023 15:56
@cevich cevich requested a review from rhatdan May 31, 2023 17:04
@rhatdan
Copy link
Member

rhatdan commented May 31, 2023

LGTM
@edsantiago PTAL

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.

Big picture LGTM, with a few concerns.

This deserves to be documented, but I can't even find where CI:DOCS or :BUILD are documented...?

contrib/cirrus/setup.sh Outdated Show resolved Hide resolved
contrib/cirrus/lib.sh Show resolved Hide resolved
contrib/cirrus/setup.sh Outdated Show resolved Hide resolved
Sometimes important updates need to be made to dependent packages and
run through CI w/o waiting for package release and new CI VM image
builds.  Support this in buildah CI as in podman CI, by updating
packages during setup when the magic string is present and PR is in
draft-mode.

Note: To support containerized testing, both `CIRRUS_CHANGE_TITLE`
and `CIRRUS_PR_DRAFT` env. vars. are passed through.  For these tasks,
this will result in **TWO** updates - One for the host, and another one
in the container.

Signed-off-by: Chris Evich <cevich@redhat.com>
@cevich
Copy link
Member Author

cevich commented Jun 1, 2023

This deserves to be documented

Yeah probably. It got way more out of hand in podman-CI, which is why it's documented there. And still I don't think many/any people read it 😞

@cevich cevich requested a review from edsantiago June 1, 2023 18:09
@cevich
Copy link
Member Author

cevich commented Jun 1, 2023

Force-push: Addressed all of Ed's concerns, except the missing docs.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 1, 2023

[APPROVALNOTIFIER] This PR is APPROVED

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

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
/hold

@rhatdan
Copy link
Member

rhatdan commented Jun 2, 2023

/hold cancel

@rhatdan rhatdan merged commit a9342e3 into containers:main Jun 5, 2023
32 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 4, 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