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

packit: Build PRs into default packit COPRs #1566

Merged
merged 1 commit into from
Aug 8, 2023
Merged

packit: Build PRs into default packit COPRs #1566

merged 1 commit into from
Aug 8, 2023

Conversation

martinpitt
Copy link
Contributor

Building all PRs of all container projects into the same COPR does not properly isolate PRs from each other.

To avoid that, change the copr_build configuration to use the packit default COPRs, which are specific to the particular PR, and disappear after a few weeks. Depending projects should only run against what landed in conmon-rs/main i.e. the podman-next COPR.

What type of PR is this?

/kind failing-test

What this PR does / why we need it:

This is exactly the same as containers/crun#1260 ; please see the discussion there, this change needs to be applied to all container projects, and then all land together. Let's keep all the relevant discussions and tracking in the crun PR please.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Discussed with @lsm5 in containers/crun#1260

Does this PR introduce a user-facing change?

None

@martinpitt
Copy link
Contributor Author

martinpitt commented Aug 8, 2023

one integration test failure:

[FAIL] ConmonClient [JustAfterEach] ExecSync Stress should handle many requests with terminal

I'll retry this once to compare. Update: worked ✅

Building all PRs of all container projects into the same COPR does not
properly isolate PRs from each other.

To avoid that, change the copr_build configuration to use the packit
default COPRs, which are specific to the particular PR, and disappear
after a few weeks. Depending projects should only run against what
landed in conmon-rs/main i.e. the podman-next COPR.

Signed-off-by: Martin Pitt <[email protected]>
@martinpitt martinpitt marked this pull request as ready for review August 8, 2023 12:21
@martinpitt
Copy link
Contributor Author

Clippy is fixed in #1562 , so this seems okay now. The centos-stream+epel-next-8 build is still going on (dnf install is ludicrously slow, networking problems?)

@lsm5 lsm5 self-assigned this Aug 8, 2023
Copy link
Member

@lsm5 lsm5 left a comment

Choose a reason for hiding this comment

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

/lgtm

Thanks!

@openshift-ci openshift-ci bot added the lgtm label Aug 8, 2023
@lsm5
Copy link
Member

lsm5 commented Aug 8, 2023

/approve

Copy link
Member

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

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

Cool, thank you!

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 8, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lsm5, martinpitt, saschagrunert

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 Aug 8, 2023
@saschagrunert saschagrunert merged commit 076e9fd into containers:main Aug 8, 2023
@martinpitt martinpitt deleted the packit-temp-copr branch August 8, 2023 13:09
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.

3 participants